Merge pull request #935 from cpackham/check-configure

Makefile.in: check for configure being up to date
This commit is contained in:
Alexey Neyman 2018-03-31 11:38:29 -07:00 committed by GitHub
commit 7c34226759
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ __silent_rmdir = $(call __silent,RMDIR,$1)rm -rf $1
# Remove any suffix rules
.SUFFIXES:
all: Makefile build
all: configure Makefile build
###############################################################################
# Configuration variables
@ -104,6 +104,10 @@ Makefile: Makefile.in
@echo "$< changed: you must re-run './configure'"
@false
configure: configure.ac
@echo "$< changed: you must re-run './bootstrap'"
@false
# If installing with DESTDIR, check it's an absolute path
ifneq ($(strip $(DESTDIR)),)
ifneq ($(DESTDIR),$(abspath /$(DESTDIR)))