diff options
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -49,9 +49,12 @@ am_sys_files = $(targets) $(pkgconffile) # Pattern rules -%: %.in +%: %.in .var.sbindir .var.pkgconffile sed -e 's|@sbindir@|$(sbindir)|' -e 's|@pkgconffile@|$(pkgconffile)|' < $< > $@ +.var.%: FORCE + @printf '%s' '$($*)' | ./write-ifchanged $@ + $(DESTDIR)$(sbindir)/%: % install -Dm755 $< $@ |