mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
Create destination contrib/*/finit.d dir if missing
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -28,6 +28,7 @@ LT_INIT([shared disable-static dlopen aix-soname=both disable-fast-install])
|
||||
AC_PROG_CC
|
||||
AC_PROG_LN_S
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_MKDIR_P
|
||||
|
||||
# Configuration.
|
||||
AC_HEADER_STDC
|
||||
|
||||
@@ -3,7 +3,8 @@ docsdir := @docdir@/contrib/alpine/finit.d
|
||||
d_LINKS = dropbear.conf getty.conf keymap.conf modules.conf klogd.conf syslogd.conf
|
||||
|
||||
install-exec-hook:
|
||||
for file in $(d_LINKS); do \
|
||||
@$(MKDIR_P) $(DESTDIR)$(docsdir)
|
||||
@for file in $(d_LINKS); do \
|
||||
lnk=$(DESTDIR)$(docsdir)/$$file; \
|
||||
src=available/$$file; \
|
||||
if [ -e $$lnk ]; then \
|
||||
|
||||
@@ -4,7 +4,8 @@ d_LINKS = console-setup.conf getty.conf keyboard-setup.conf \
|
||||
modules.conf rsyslogd.conf sshd.conf
|
||||
|
||||
install-exec-hook:
|
||||
for file in $(d_LINKS); do \
|
||||
@$(MKDIR_P) $(DESTDIR)$(docsdir)
|
||||
@for file in $(d_LINKS); do \
|
||||
lnk=$(DESTDIR)$(docsdir)/$$file; \
|
||||
src=available/$$file; \
|
||||
if [ -e $$lnk ]; then \
|
||||
|
||||
@@ -3,7 +3,8 @@ docsdir := @docdir@/contrib/void/finit.d
|
||||
d_LINKS = acpid.conf dhcpcd.conf getty.conf sshd.conf uuidd.conf
|
||||
|
||||
install-exec-hook:
|
||||
for file in $(d_LINKS); do \
|
||||
@$(MKDIR_P) $(DESTDIR)$(docsdir)
|
||||
@for file in $(d_LINKS); do \
|
||||
lnk=$(DESTDIR)$(docsdir)/$$file; \
|
||||
src=available/$$file; \
|
||||
if [ -e $$lnk ]; then \
|
||||
|
||||
Reference in New Issue
Block a user