about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2019-09-19 02:26:50 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2019-09-19 02:26:50 +0000
commit356b9a0d5450efa4d6aa249cff938ab142c48530 (patch)
tree47d193679ed0ee44ab33e44beae78b109af415d5 /GNUmakefile
parent4a43650df6ecd6e1303af0666194cc87aafa385c (diff)
downloadnetpbm-mirror-356b9a0d5450efa4d6aa249cff938ab142c48530.tar.gz
netpbm-mirror-356b9a0d5450efa4d6aa249cff938ab142c48530.tar.xz
netpbm-mirror-356b9a0d5450efa4d6aa249cff938ab142c48530.zip
Fix for systems that can't tell that $(BUILDDIR)/pm_config.h and pm_config.h are the same file, so say there is no rule to build pm_config.h
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3678 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 1beebb4c..e5b0265a 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -108,7 +108,7 @@ nonmerge: $(PRODUCT_SUBDIRS:%=%/all)
 # simultaneously find that pm_config.h needs to be built and proceed to build
 # it.  After one thread has built pm_config.h, it will proceed to use
 # pm_config.h, but the other thread is still building pm_config.h, which is
-# not valid while it is in the middle of being built.
+# not valid while it is in the middle of being used.
 #
 # But many submakes don't have any such shared dependencies, so build their
 # targets in parallel just fine.  So we declare this make file ineligible for
@@ -149,7 +149,7 @@ $(TYPEGEN) $(ENDIANGEN): $(BUILDDIR)/buildtools
 	$(MAKE) -C $(dir $@) -f $(SRCDIR)/buildtools/Makefile \
 	    SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) $(notdir $@) 
 
-$(BUILDDIR)/inttypes_netpbm.h: $(TYPEGEN)
+inttypes_netpbm.h: $(TYPEGEN)
 	$(TYPEGEN) >$@
 
 
@@ -165,7 +165,7 @@ $(TESTRANDOM): $(BUILDDIR)/test
 # that or to override the results, because it doesn't work if he's
 # cross compiling.
 
-$(BUILDDIR)/pm_config.h: \
+pm_config.h: \
   $(SRCDIR)/pm_config.in.h config.mk inttypes_netpbm.h \
   $(ENDIANGEN)
 # Note that this rule depends on the effect of the .DELETE_ON_ERROR
@@ -207,7 +207,7 @@ endif
 MAJOR := $(NETPBM_MAJOR_RELEASE)
 MINOR := $(NETPBM_MINOR_RELEASE)
 POINT := $(NETPBM_POINT_RELEASE)
-$(BUILDDIR)/version.h: $(SRCDIR)/version.mk
+version.h: $(SRCDIR)/version.mk
 	@rm -f $@
 	@echo "/* Generated by make file rule */" >>$@
 	@echo "#define NETPBM_VERSION" \