about summary refs log tree commit diff
path: root/srcdir.mk
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-10-11 22:37:32 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-10-11 22:37:32 +0000
commit99af40685504c5c69d2580afdcdf8c76f67563db (patch)
tree3b93aaee5b3275eb62a0f923b251af2bcf399d26 /srcdir.mk
parent878119c38611bd88a12be29e2446a01c3a1e7009 (diff)
downloadnetpbm-mirror-99af40685504c5c69d2580afdcdf8c76f67563db.tar.gz
netpbm-mirror-99af40685504c5c69d2580afdcdf8c76f67563db.tar.xz
netpbm-mirror-99af40685504c5c69d2580afdcdf8c76f67563db.zip
Add comments
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@749 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'srcdir.mk')
-rw-r--r--srcdir.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/srcdir.mk b/srcdir.mk
index 6a21d9db..484bb420 100644
--- a/srcdir.mk
+++ b/srcdir.mk
@@ -1 +1,14 @@
+# This is the version of srcdir.mk that gets used when you build in
+# the source tree.  In contrast, when you build in a separate build tree,
+# you use a version of srcdir.mk that Configure created, which sets SRCDIR
+# to the location of the source tree.
+
+# This is designed to be included by the top level make file, with
+# SRCDIR being passed to all the submakes.  That means that when you
+# build in a separate build tree, you must build from the top; you
+# can't go into a subdirectory and type "make".  When you build in the
+# _source_ tree, local makes work because every local make file checks
+# whether SRCDIR is set, and if it isn't, sets it with the assumption
+# that the build directory and source directory are the same.
+
 SRCDIR = $(CURDIR)