about summary refs log tree commit diff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-04-23 18:17:26 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-04-23 18:17:26 +0000
commitd55db645b8f93b8f7f8c0cf92afcfef65454c020 (patch)
tree942ff48b91db05b7fa3931b75e7ad91c39b7996c /lib/Makefile
parent4a297519085116439c4c1970c5fa132700e01139 (diff)
downloadnetpbm-mirror-d55db645b8f93b8f7f8c0cf92afcfef65454c020.tar.gz
netpbm-mirror-d55db645b8f93b8f7f8c0cf92afcfef65454c020.tar.xz
netpbm-mirror-d55db645b8f93b8f7f8c0cf92afcfef65454c020.zip
Release 10.78.03
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2965 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 7af07803..a0f33745 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -191,11 +191,14 @@ libnetpbm.$(STATICLIBSUFFIX): $(LIBOBJECTS) $(LIBOBJECTS_X)
 endif
 
 
-# To avoid major hassles with having ppmdcfont available here, we just
-# ship a pre-made standardppmfont.c, so this rule will not normally be
-# used.
-standardppmdfont.c: standard.ppmdfont
-	ppmdcfont <$< >$@
+# To avoid major hassles with having ppmdcfont available here, we just ship a
+# pre-made standardppmfont.c, so this rule will not normally be used.  Though
+# standardppmdfont.c depends upon standard.ppmdfont, we don't declare that
+# here because when the user creates the source tree, the modification time of
+# standard.ppmdfont may end up later than that of standardppmdfont.c, which
+# would make the build want to rebuild it.
+standardppmdfont.c:
+	ppmdcfont <standard.ppmdfont >$@
 
 # Note that we create a new compile.h only for the first make after a
 # make clean.  This is good enough.  We used to do stamp-date for