about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2013-03-01 00:31:21 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2013-03-01 00:31:21 +0000
commitc0a60c0064d24f613bebf0e53625239600d6573c (patch)
tree671579df685dd4a7ad1b31f09d7c7e92b6260292
parente1750b2cbfa2f83193721c7f77b1fc122091efc4 (diff)
downloadnetpbm-mirror-c0a60c0064d24f613bebf0e53625239600d6573c.tar.gz
netpbm-mirror-c0a60c0064d24f613bebf0e53625239600d6573c.tar.xz
netpbm-mirror-c0a60c0064d24f613bebf0e53625239600d6573c.zip
Fix problem with nonexistent lib/util with separate build tree
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1865 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--GNUmakefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 9066f2a7..f923aa1f 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -103,10 +103,13 @@ $(PROG_SUBDIRS:%=%/all): lib/all $(SUPPORT_SUBDIRS:%=%/all)
 lib/all: lib/util/all
 
 .PHONY: lib/util/all
-lib/util/all:
+lib/util/all: lib/util
 	$(MAKE) -C lib/util -f $(SRCDIR)/lib/util/Makefile \
 	    SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) all
 
+lib/util: lib
+	mkdir $@
+
 OMIT_CONFIG_RULE = 1
 OMIT_VERSION_H_RULE = 1
 OMIT_INTTYPES_RULE = 1