From fdcf880b3c8c67f08453f553474a551e9707d29d Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Wed, 19 Dec 2012 11:27:22 +0400 Subject: autotools.mk: allow target-specific variable for make --- rules/autotools.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rules') diff --git a/rules/autotools.mk b/rules/autotools.mk index ce9d3be..d2b6349 100644 --- a/rules/autotools.mk +++ b/rules/autotools.mk @@ -55,12 +55,14 @@ configure-%-stamp: $(configure) $(configure-options) touch $@ +build-%-stamp: target = build-%-stamp: - cd "$(builddir)" && $(MAKE) $(make-jobs:%=-j%) V=1 + cd "$(builddir)" && $(MAKE) $(make-jobs:%=-j%) $(target) V=1 touch $@ +install-%-stamp: target = install install-%-stamp: - cd "$(builddir)" && $(MAKE) install DESTDIR="$(protodir)" + cd "$(builddir)" && $(MAKE) $(target) DESTDIR="$(protodir)" touch $@ -- cgit v1.2.3