diff options
Diffstat (limited to 'devel/doxygen/patches/patch-ab')
-rw-r--r-- | devel/doxygen/patches/patch-ab | 44 |
1 files changed, 32 insertions, 12 deletions
diff --git a/devel/doxygen/patches/patch-ab b/devel/doxygen/patches/patch-ab index e72be3fba29..1c21d69d1fe 100644 --- a/devel/doxygen/patches/patch-ab +++ b/devel/doxygen/patches/patch-ab @@ -1,8 +1,12 @@ -$NetBSD: patch-ab,v 1.7 2006/10/28 03:18:58 dsainty Exp $ +$NetBSD: patch-ab,v 1.8 2006/10/31 20:06:57 dsainty Exp $ -The "cp -r doc" may by chance copy language.doc with an older -modification timestamp than some of its dependencies. Use -gmake's --assume-new to avoid this being a problem. +install_docs: + + The "cp -r doc" may by chance copy language.doc with an older modification + timestamp than some of its dependencies. The replacement rule is the + intended solution presented on: + + http://bugzilla.gnome.org/show_bug.cgi?id=366119 --- Makefile.in.orig 2005-11-21 07:05:07.000000000 +1300 +++ Makefile.in 2006-10-27 12:35:47.484445000 +1300 @@ -17,12 +21,28 @@ gmake's --assume-new to avoid this being a problem. $(INSTTOOL) -d $(INSTALL)/$(MAN1DIR) cat doc/doxygen.1 | sed -e "s/DATE/$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > $(INSTALL)/$(MAN1DIR)/doxygen.1 ; \ cat doc/doxytag.1 | sed -e "s/DATE/$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > $(INSTALL)/$(MAN1DIR)/doxytag.1 ; \ -@@ -67,7 +67,7 @@ - echo "PERL = $(PERL)" >> $(DOCDIR)/doc/Makefile - cat doc/Makefile.in >> $(DOCDIR)/doc/Makefile - cd $(DOCDIR)/examples ; $(MAKE) +@@ -59,19 +59,12 @@ + + install_docs: + $(INSTTOOL) -d $(DOCDIR) +- cp -r doc $(DOCDIR) ++ $(MAKE) -C examples ++ $(MAKE) -C doc ++ $(MAKE) -C latex ++ cp latex/doxygen_manual.pdf $(DOCDIR) + cp -r examples $(DOCDIR) +- echo "DOXYGEN = $(INSTALL)" > $(DOCDIR)/doc/Makefile +- echo "DOXYDOCS = .." >> $(DOCDIR)/doc/Makefile +- echo "VERSION = $(VERSION)" >> $(DOCDIR)/doc/Makefile +- echo "PERL = $(PERL)" >> $(DOCDIR)/doc/Makefile +- cat doc/Makefile.in >> $(DOCDIR)/doc/Makefile +- cd $(DOCDIR)/examples ; $(MAKE) - cd $(DOCDIR)/doc ; $(MAKE) -+ cd $(DOCDIR)/doc ; $(MAKE) --assume-new=language.doc - rm -rf $(DOCDIR)/doc - cd $(DOCDIR)/latex ; $(MAKE) - cp $(DOCDIR)/latex/doxygen_manual.pdf $(DOCDIR) +- rm -rf $(DOCDIR)/doc +- cd $(DOCDIR)/latex ; $(MAKE) +- cp $(DOCDIR)/latex/doxygen_manual.pdf $(DOCDIR) +- rm -rf $(DOCDIR)/latex ++ cp -r html $(DOCDIR) + + docs: FORCE + cd examples ; $(MAKE) |