aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rw-r--r--rules/autotools.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/rules/autotools.mk b/rules/autotools.mk
index d2b6349..afdf6e5 100644
--- a/rules/autotools.mk
+++ b/rules/autotools.mk
@@ -56,13 +56,15 @@ configure-%-stamp:
touch $@
build-%-stamp: target =
+build-%-stamp: make-vars = V=1
build-%-stamp:
- cd "$(builddir)" && $(MAKE) $(make-jobs:%=-j%) $(target) V=1
+ cd "$(builddir)" && $(MAKE) $(make-jobs:%=-j%) $(target) $(make-vars)
touch $@
install-%-stamp: target = install
+install-%-stamp: make-vars = DESTDIR="$(protodir)"
install-%-stamp:
- cd "$(builddir)" && $(MAKE) $(target) DESTDIR="$(protodir)"
+ cd "$(builddir)" && $(MAKE) $(target) $(make-vars)
touch $@