From 3de435d7b807b85eebc021d47f2d610a873630b8 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 14 Mar 2016 22:57:26 +0900 Subject: [PATCH] contrib: Use simple form in prerequisites --- contrib/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/contrib/Makefile.am b/contrib/Makefile.am index 07829e25..b71cc531 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -27,13 +27,16 @@ EXTRA_DIST = $(configfiles:%=%.in) nghttpx-logrotate tlsticketupdate.go edit = sed -e 's|@bindir[@]|$(bindir)|g' -nghttpx-init: %: $(srcdir)/%.in +nghttpx-init: $(srcdir)/nghttpx-init.in rm -f $@ $@.tmp $(edit) $< > $@.tmp chmod +x $@.tmp mv $@.tmp $@ -nghttpx.service nghttpx-upstart.conf: %: $(srcdir)/%.in +nghttpx.service: $(srcdir)/nghttpx.service.in + $(edit) $< > $@ + +nghttpx-upstart.conf: $(srcdir)/nghttpx-upstart.conf.in $(edit) $< > $@ $(configfiles): Makefile