summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-03-14 21:00:02 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-03-14 21:00:02 +0000
commita73a9f2a109da2ec737f8f6889ec68df9c83d449 (patch)
treec75705779009d1af2ff1fcde1ed9ffc272939a5a
parent1c666ca77c146316bc661cb391f7a8fde3d9505b (diff)
downloads6-frontend-a73a9f2a109da2ec737f8f6889ec68df9c83d449.tar.xz
Fix targets.mak for --disable-aliases-symlinks
-rw-r--r--package/targets.mak11
1 files changed, 6 insertions, 5 deletions
diff --git a/package/targets.mak b/package/targets.mak
index ce3d7b2..45484e0 100644
--- a/package/targets.mak
+++ b/package/targets.mak
@@ -7,10 +7,10 @@ WRAP_ANY :=
ifdef WRAP_DAEMONTOOLS
-ifdef WRAP_SYMLINKS
-
WRAP_ANY := 1
+ifdef WRAP_SYMLINKS
+
DAEMONTOOLS_TARGETS := \
envdir \
envuidgid \
@@ -46,10 +46,10 @@ endif
ifdef WRAP_RUNIT
-ifdef WRAP_SYMLINKS
-
WRAP_ANY := 1
+ifdef WRAP_SYMLINKS
+
RUNIT_TARGETS := \
runit \
runit-init \
@@ -58,14 +58,15 @@ runsvchdir \
runsvdir \
svlogd \
utmpset
+RUNIT_SPECIAL_TARGETS := chpst sv
else
RUNIT_TARGETS :=
+RUNIT_SPECIAL_TARGETS :=
endif
-RUNIT_SPECIAL_TARGETS := chpst sv
BIN_TARGETS += s6-frontend-alias-sv s6-frontend-alias-chpst
install-bin: $(RUNIT_TARGETS:%=$(DESTDIR)$(bindir)/%) $(RUNIT_SPECIAL_TARGETS:%=$(DESTDIR)$(bindir)/%)