summaryrefslogtreecommitdiff
path: root/make/calcdep.pl
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-03 01:14:04 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-03 01:14:04 +0000
commit7746307ab638030a4b0a8c2c3b4c577f380e29bb (patch)
treec3ea71360d1f0228ffe984af8d3b5f508f0f1449 /make/calcdep.pl
parentd4897f7bde804a7525597e59a802efdf072b4aeb (diff)
Clarify comments in Makefiles
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11990 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/calcdep.pl')
-rwxr-xr-xmake/calcdep.pl10
1 files changed, 8 insertions, 2 deletions
diff --git a/make/calcdep.pl b/make/calcdep.pl
index 2a0ea5d92..81a7759d3 100755
--- a/make/calcdep.pl
+++ b/make/calcdep.pl
@@ -29,10 +29,16 @@ sub run() {
chdir "$ENV{SOURCEPATH}/src";
print MAKE <<END;
-# DO NOT EDIT
-# Autogenerated by calcdep
+# DO NOT EDIT THIS FILE
+# It is autogenerated by make/calcdep.pl, and will be overwritten
+# every time you rerun make in the main directory
VPATH = \$(SOURCEPATH)/src
+bad-target:
+ \@echo "This Makefile must be run by a sub-make from the source"
+ \@echo "in order to set the correct environment variables"
+ \@exit 1
+
all: inspircd commands modules
END