summaryrefslogtreecommitdiff
path: root/make/template/main.mk
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-04 18:59:57 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-04 18:59:57 +0000
commit3396bbbcb08750a2dea1497047da52e0b3c2f2a6 (patch)
tree5145d77880da18f4092ade54c7288493650441c5 /make/template/main.mk
parent988784816b1a21b20da99a20c8ca02de793000fd (diff)
Fix makefile remake target to work in BSD make and avoid looping when .config.cache is updated
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12242 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/template/main.mk')
-rw-r--r--make/template/main.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index e2688cefa..e201432a9 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -167,9 +167,11 @@ install: target@EXTRA_DIR@
@echo "* REMEMBER TO EDIT YOUR CONFIG FILE *"
@echo "*************************************"
-@GNU_ONLY RCS_FILES = $(wildcard .git/index .svn/entries .config.cache)
-@GNU_ONLY GNUmakefile: make/template/main.mk configure $(RCS_FILES)
-@GNU_ONLY ./configure -update
+@GNU_ONLY RCS_FILES = $(wildcard .git/index .svn/entries src/version.sh)
+@BSD_ONLY RCS_FILES = src/version.sh
+GNUmakefile BSDmakefile: make/template/main.mk configure $(RCS_FILES)
+ ./configure -update
+@BSD_ONLY .MAKEFILEDEPS: BSDmakefile
clean:
@echo Cleaning...