diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-02-05 02:39:42 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-02-05 02:39:42 -0500 |
commit | 8a11d369a63313269277ab246aba183f10f8523d (patch) | |
tree | 4586d8dae65b80d4354f15be95a397d8ae06a68e | |
parent | cd9c64780945f9a448b1833a06074e426f3db265 (diff) |
Makefile: tidy
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -41,6 +41,9 @@ files.sys.all = $(targets) $(pkgconffile) %: %.in .var.sbindir .var.pkgconffile .var.webuser sed $(foreach v,$(patsubst .var.%,%,$(filter .var.%,$^)), -e 's|@$v@|$($v)|' ) < $< > $@ +%: %.c .var.LINK.c + $(LINK.c) $(filter-out .var.%,$^) -o $@ + $(DESTDIR)$(sbindir)/%: % install -Dm755 $< $@ @@ -58,9 +61,6 @@ $(DESTDIR)$(uwsgidir)/%: % # Specific rules -parabolaweb-changepassword: %: %.c .var.LINK.c - $(LINK.c) $(filter-out .var.%,$^) -o $@ - depends.txt: list-depends depends_static.txt ./$< > $@ @@ -72,5 +72,6 @@ $(DESTDIR)$(pkgconffile): parabolaweb.conf .DELETE_ON_ERROR: .SECONDARY: +.SUFFIXES: include $(topsrcdir)/build-aux/Makefile.tail.mk |