commit 4b84560a847a156f3d838e5fcd97fa438329eb8b
parent abc91e91439e7e515c2560be41abf8ff19b12983
Author: finwo <finwo@pm.me>
Date: Thu, 9 Apr 2026 23:04:51 +0200
Update package format
Diffstat:
4 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/.dep.export b/.dep.export
@@ -0,0 +1,2 @@
+include/finwo/poll.h src/fpoll.h
+include/finwo/poll_compat.h src/poll_compat.h
diff --git a/.editorconfig b/.editorconfig
@@ -7,6 +7,7 @@ insert_final_newline = true
charset = utf-8
indent_size = 2
indent_style = space
+trim_trailing_whitespace = true
[Makefile*]
indent_style = tab
diff --git a/config.mk b/config.mk
@@ -1,2 +1,2 @@
-SRC+=__DIRNAME/src/fpoll.c
-SRC+=__DIRNAME/src/poll_compat.c
+SRC+={{module.dirname}}/src/fpoll.c
+SRC+={{module.dirname}}/src/poll_compat.c
diff --git a/package.ini b/package.ini
@@ -1,10 +0,0 @@
-[dependencies]
-
-[export]
-config.mk=config.mk
-include/finwo/poll.h=src/fpoll.h
-include/finwo/poll_compat.h=src/poll_compat.h
-
-[package]
-deps=lib
-name=finwo/poll