Generate the generic Linux init script with the configured sbin path.

This commit is contained in:
Justin Maggard
2013-11-01 17:44:41 -07:00
parent a9c299888d
commit 0cc4fd980d
2 changed files with 16 additions and 3 deletions

View File

@ -44,7 +44,20 @@ testupnpdescgen_LDADD = \
@LIBEXIF_LIBS@ \
-lFLAC $(flacoggflag) $(vorbisflag)
SUFFIXES = .tmpl .
.tmpl:
sed -e s@:SBINDIR:@${sbindir}@ <$< >$@
GENERATED_FILES = \
linux/minidlna.init.d.script
TEMPLATES = \
linux/minidlna.init.d.script.tmpl
CLEANFILES = $(GENERATED_FILES)
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = m4/ChangeLog
EXTRA_DIST = m4/ChangeLog $(TEMPLATES)
noinst_DATA = $(GENERATED_FILES)