summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPS <p@0x53.net>2026-02-07 11:32:47 +0100
committerPS <p@0x53.net>2026-02-07 11:32:47 +0100
commitc48083aed7a8d972598b97c742bc0a0da0b84080 (patch)
tree1a0e7ef1857e3299668c5892f9b71133accecf9c /package
parenteb36640078ee6469427e85ca0695f8c920909ea0 (diff)
downloadgoetia-freebsd-init-c48083aed7a8d972598b97c742bc0a0da0b84080.tar.gz
goetia-freebsd-init-c48083aed7a8d972598b97c742bc0a0da0b84080.tar.bz2
goetia-freebsd-init-c48083aed7a8d972598b97c742bc0a0da0b84080.zip
Improve build system and doc
Diffstat (limited to 'package')
-rw-r--r--package/deps.mak30
-rw-r--r--package/targets.mak35
2 files changed, 32 insertions, 33 deletions
diff --git a/package/deps.mak b/package/deps.mak
index 586b8a9..3e05a2d 100644
--- a/package/deps.mak
+++ b/package/deps.mak
@@ -3,32 +3,32 @@
#
system-init: src/bin/system-init
-$(DESTDIR)$(bindir)/system-init: system-init
+$(bindir)/system-init: system-init
system-shutdown: src/bin/system-shutdown
-$(DESTDIR)$(bindir)/system-shutdown: system-shutdown
+$(bindir)/system-shutdown: system-shutdown
service/system/.s6-svscan/crash: src/lib/service/system/.s6-svscan/crash
-$(DESTDIR)$(libdir)/service/system/.s6-svscan/crash: service/system/.s6-svscan/crash
+$(libdir)/service/system/.s6-svscan/crash: service/system/.s6-svscan/crash
service/system/.s6-svscan/SIGUSR1: src/lib/service/system/.s6-svscan/SIGUSR1
-$(DESTDIR)$(libdir)/service/system/.s6-svscan/SIGUSR1: service/system/.s6-svscan/SIGUSR1
+$(libdir)/service/system/.s6-svscan/SIGUSR1: service/system/.s6-svscan/SIGUSR1
service/system/.s6-svscan/finish: src/lib/service/system/.s6-svscan/finish
-$(DESTDIR)$(libdir)/service/system/.s6-svscan/finish: service/system/.s6-svscan/finish
+$(libdir)/service/system/.s6-svscan/finish: service/system/.s6-svscan/finish
service/system/.s6-svscan/SIGQUIT: src/lib/service/system/.s6-svscan/SIGQUIT
-$(DESTDIR)$(libdir)/service/system/.s6-svscan/SIGQUIT: service/system/.s6-svscan/SIGQUIT
+$(libdir)/service/system/.s6-svscan/SIGQUIT: service/system/.s6-svscan/SIGQUIT
service/system/.s6-svscan/SIGINT: src/lib/service/system/.s6-svscan/SIGINT
-$(DESTDIR)$(libdir)/service/system/.s6-svscan/SIGINT: service/system/.s6-svscan/SIGINT
+$(libdir)/service/system/.s6-svscan/SIGINT: service/system/.s6-svscan/SIGINT
service/system/.s6-svscan/SIGUSR2: src/lib/service/system/.s6-svscan/SIGUSR2
-$(DESTDIR)$(libdir)/service/system/.s6-svscan/SIGUSR2: service/system/.s6-svscan/SIGUSR2
+$(libdir)/service/system/.s6-svscan/SIGUSR2: service/system/.s6-svscan/SIGUSR2
service/system/.s6-svscan/SIGWINCH: src/lib/service/system/.s6-svscan/SIGWINCH
-$(DESTDIR)$(libdir)/service/system/.s6-svscan/SIGWINCH: service/system/.s6-svscan/SIGWINCH
+$(libdir)/service/system/.s6-svscan/SIGWINCH: service/system/.s6-svscan/SIGWINCH
service/system/.s6-svscan/SIGTERM: src/lib/service/system/.s6-svscan/SIGTERM
-$(DESTDIR)$(libdir)/service/system/.s6-svscan/SIGTERM: service/system/.s6-svscan/SIGTERM
+$(libdir)/service/system/.s6-svscan/SIGTERM: service/system/.s6-svscan/SIGTERM
service/system/.s6-svscan/SIGPWR: src/lib/service/system/.s6-svscan/SIGPWR
-$(DESTDIR)$(libdir)/service/system/.s6-svscan/SIGPWR: service/system/.s6-svscan/SIGPWR
+$(libdir)/service/system/.s6-svscan/SIGPWR: service/system/.s6-svscan/SIGPWR
service/system/goetia-shutdown/run: src/lib/service/system/goetia-shutdown/run
-$(DESTDIR)$(libdir)/service/system/goetia-shutdown/run: service/system/goetia-shutdown/run
+$(libdir)/service/system/goetia-shutdown/run: service/system/goetia-shutdown/run
service/system/goetia-shutdown/stage3b: src/lib/service/system/goetia-shutdown/stage3b
-$(DESTDIR)$(libdir)/service/system/goetia-shutdown/stage3b: service/system/goetia-shutdown/stage3b
+$(libdir)/service/system/goetia-shutdown/stage3b: service/system/goetia-shutdown/stage3b
service/system/goetia-shutdown/down: src/lib/service/system/goetia-shutdown/down
-$(DESTDIR)$(libdir)/service/system/goetia-shutdown/down: service/system/goetia-shutdown/down
+$(libdir)/service/system/goetia-shutdown/down: service/system/goetia-shutdown/down
service/system/goetia-shutdown/stage4: src/lib/service/system/goetia-shutdown/stage4
-$(DESTDIR)$(libdir)/service/system/goetia-shutdown/stage4: service/system/goetia-shutdown/stage4
+$(libdir)/service/system/goetia-shutdown/stage4: service/system/goetia-shutdown/stage4
diff --git a/package/targets.mak b/package/targets.mak
index 508898e..8ff628a 100644
--- a/package/targets.mak
+++ b/package/targets.mak
@@ -7,12 +7,12 @@ ALL_BINS ::= \
system-shutdown \
INSTALL_BINS ::= \
- $(DESTDIR)$(bindir)/system-init \
- $(DESTDIR)$(bindir)/system-shutdown \
+ $(bindir)/system-init \
+ $(bindir)/system-shutdown \
SLASHCOMMAND_BINS ::= \
- $(DESTDIR)$(sproot)/command/system-init \
- $(DESTDIR)$(sproot)/command/system-shutdown \
+ $(sproot)/command/system-init \
+ $(sproot)/command/system-shutdown \
ALL_LIBS ::= \
service/system/.s6-svscan/crash \
@@ -30,17 +30,16 @@ ALL_LIBS ::= \
service/system/goetia-shutdown/stage4 \
INSTALL_LIBS ::= \
- $(DESTDIR)$(libdir)/service/system/.s6-svscan/crash \
- $(DESTDIR)$(libdir)/service/system/.s6-svscan/SIGUSR1 \
- $(DESTDIR)$(libdir)/service/system/.s6-svscan/finish \
- $(DESTDIR)$(libdir)/service/system/.s6-svscan/SIGQUIT \
- $(DESTDIR)$(libdir)/service/system/.s6-svscan/SIGINT \
- $(DESTDIR)$(libdir)/service/system/.s6-svscan/SIGUSR2 \
- $(DESTDIR)$(libdir)/service/system/.s6-svscan/SIGWINCH \
- $(DESTDIR)$(libdir)/service/system/.s6-svscan/SIGTERM \
- $(DESTDIR)$(libdir)/service/system/.s6-svscan/SIGPWR \
- $(DESTDIR)$(libdir)/service/system/goetia-shutdown/run \
- $(DESTDIR)$(libdir)/service/system/goetia-shutdown/stage3b \
- $(DESTDIR)$(libdir)/service/system/goetia-shutdown/down \
- $(DESTDIR)$(libdir)/service/system/goetia-shutdown/stage4 \
-
+ $(libdir)/service/system/.s6-svscan/crash \
+ $(libdir)/service/system/.s6-svscan/SIGUSR1 \
+ $(libdir)/service/system/.s6-svscan/finish \
+ $(libdir)/service/system/.s6-svscan/SIGQUIT \
+ $(libdir)/service/system/.s6-svscan/SIGINT \
+ $(libdir)/service/system/.s6-svscan/SIGUSR2 \
+ $(libdir)/service/system/.s6-svscan/SIGWINCH \
+ $(libdir)/service/system/.s6-svscan/SIGTERM \
+ $(libdir)/service/system/.s6-svscan/SIGPWR \
+ $(libdir)/service/system/goetia-shutdown/run \
+ $(libdir)/service/system/goetia-shutdown/stage3b \
+ $(libdir)/service/system/goetia-shutdown/down \
+ $(libdir)/service/system/goetia-shutdown/stage4 \