Added support for local makefiles
authorJoey Schulze <joey@infodrom.org>
Fri, 12 Oct 2001 11:11:03 +0000 (11:11 +0000)
committerJoey Schulze <joey@infodrom.org>
Fri, 12 Oct 2001 11:11:03 +0000 (11:11 +0000)
src/Makefile

index 9e6cba3..03cf5cb 100644 (file)
@@ -2,6 +2,7 @@ WML_FILES = $(wildcard *.wml)
 FILES = $(WML_FILES:%.wml=%.html)
 SFILES = $(WML_FILES:%.wml=%.shtml)
 PFILES = $(WML_FILES:%.wml=%.php3)
+MLOCAL = $(wildcard Makefile.local)
 
 DIRS = $(shell find . -maxdepth 1 -type d -not -name . -not -name CVS)
 
@@ -40,3 +41,7 @@ rdepend:
        test -z "$(DIRS)" || for d in "" $(DIRS); do if [ -n "$$d" ]; then (cp Makefile $$d && make -C $$d rdepend); fi; done
 
 include .depend
+
+ifneq "$(MLOCAL)" ""
+include Makefile.local
+endif