From 8a11d369a63313269277ab246aba183f10f8523d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 5 Feb 2017 02:39:42 -0500 Subject: Makefile: tidy --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6714a78..833d50b 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3