From cc9d8f26dbeadc908248b6992770f531c69b655b Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Tue, 28 May 2013 15:58:06 +0200 Subject: [PATCH] maint: test minimal supported autoconf through convenience target * maint.mk (check-minimal-autoconf): New convenience target. Signed-off-by: Stefano Lattarini --- maint.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/maint.mk b/maint.mk index cb883d7..fe09135 100644 --- a/maint.mk +++ b/maint.mk @@ -517,6 +517,21 @@ build-minimal-autoconf: $(AM_V_at)echo ' ======' && $(ac-d)/bin/autoconf --version .PHONY: build-minimal-autoconf +check-minimal-autoconf: + $(AM_V_GEN): \ + && PATH='$(CURDIR)/$(ac-d)/bin$(PATH_SEPARATOR)'$$PATH \ + && export PATH \ + && AUTOCONF=autoconf \ + && AUTOHEADER=autoheader \ + && AUTORECONF=autoreconf \ + && AUTOM4TE=autom4te \ + && AUTOUPDATE=autoupdate \ + && export AUTOCONF AUTOHEADER AUTORECONF AUTOM4TE AUTOUPDATE \ + && ./configure $(shell ./config.status --config) \ + && $(MAKE) check +.PHONY: check-minimal-autoconf + + # --------------------------------------------------------------- # # Testing on real-world packages can help us avoid regressions. # # --------------------------------------------------------------- # -- 2.7.4