about summary refs log tree commit diff
path: root/srcdir.mk
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-03-27 01:38:28 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-03-27 01:38:28 +0000
commit367c9cb514c9da766488b9bdb218a18e31cb7624 (patch)
treef9e343be94161a4837f0f1c1d072a35538ae0f63 /srcdir.mk
parent6e88e3326cb0c7f7975b56189278cab3f84ba1bd (diff)
downloadnetpbm-mirror-367c9cb514c9da766488b9bdb218a18e31cb7624.tar.gz
netpbm-mirror-367c9cb514c9da766488b9bdb218a18e31cb7624.tar.xz
netpbm-mirror-367c9cb514c9da766488b9bdb218a18e31cb7624.zip
Promote Stable (10.47) to Super Stable
git-svn-id: http://svn.code.sf.net/p/netpbm/code/super_stable@2691 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'srcdir.mk')
-rw-r--r--srcdir.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/srcdir.mk b/srcdir.mk
new file mode 100644
index 00000000..484bb420
--- /dev/null
+++ b/srcdir.mk
@@ -0,0 +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)