summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files 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