about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-09-22 06:21:26 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-09-22 06:21:26 +0000
commit85512739f7e22aacbca07f6dae877b3c7d3efe12 (patch)
tree64dcfad194df7dea0a197e3c604d5bdd2e627cee
parent085af102335261bd887a5ac1588fc411394f54a9 (diff)
downloadnetpbm-mirror-85512739f7e22aacbca07f6dae877b3c7d3efe12.tar.gz
netpbm-mirror-85512739f7e22aacbca07f6dae877b3c7d3efe12.tar.xz
netpbm-mirror-85512739f7e22aacbca07f6dae877b3c7d3efe12.zip
Fix parallel make
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1297 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--GNUmakefile8
-rw-r--r--doc/HISTORY3
2 files changed, 10 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index cc90672c..d6745eaf 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -98,8 +98,14 @@ nonmerge: $(PRODUCT_SUBDIRS:%=%/all)
 # make works for 'make all' in the top directory, but it may still fail
 # for the aforementioned reason for other invocations.
 
-$(SUBDIRS:%=%/all): pm_config.h inttypes_netpbm.h version.h
+$(SUBDIRS:%=%/all) lib/util/all: pm_config.h inttypes_netpbm.h version.h
 $(PROG_SUBDIRS:%=%/all): lib/all $(SUPPORT_SUBDIRS:%=%/all)
+lib/all: lib/util/all
+
+.PHONY: lib/util/all
+lib/util/all:
+	$(MAKE) -C lib/util -f $(SRCDIR)/lib/util/Makefile \
+	    SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) all
 
 OMIT_CONFIG_RULE = 1
 OMIT_VERSION_H_RULE = 1
diff --git a/doc/HISTORY b/doc/HISTORY
index 923d1612..23659bf3 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -26,6 +26,9 @@ not yet  BJH  Release 10.52.00
               ppmtompeg: fix crash with free of unallocated memory.
               Broken after 10.18, not later than 10.26.
 
+              Build: fix parallel make - multiple simultaneous attempts to
+              build lib/util/importinc.
+
               Build: don't fail due to SIGRTMIN, SIGRTMAX being undefined.
 
               Build: don't expect snprintf() to exist.