pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/doxygen Re-do the Solaris install_docs fix in a ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a31a518a1732
branches:  trunk
changeset: 520852:a31a518a1732
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Tue Oct 31 20:06:57 2006 +0000

description:
Re-do the Solaris install_docs fix in a different way, based on the
solution described on Doxygen's Bugzilla:

http://bugzilla.gnome.org/show_bug.cgi?id=366119

Tested on NetBSD, Solaris and SUSE Linux.

diffstat:

 devel/doxygen/distinfo         |   4 +-
 devel/doxygen/patches/patch-ab |  44 ++++++++++++++++++++++++++++++-----------
 2 files changed, 34 insertions(+), 14 deletions(-)

diffs (73 lines):

diff -r 1a4a7ba2554f -r a31a518a1732 devel/doxygen/distinfo
--- a/devel/doxygen/distinfo    Tue Oct 31 20:06:08 2006 +0000
+++ b/devel/doxygen/distinfo    Tue Oct 31 20:06:57 2006 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.26 2006/10/29 07:51:28 dsainty Exp $
+$NetBSD: distinfo,v 1.27 2006/10/31 20:06:57 dsainty Exp $
 
 SHA1 (doxygen-1.4.7.src.tar.gz) = 42a33d676fbd471165d02f531bfe98f433ecb432
 RMD160 (doxygen-1.4.7.src.tar.gz) = 4de02b866cef53a7fd6f54e0ba90111814a9d77a
 Size (doxygen-1.4.7.src.tar.gz) = 2928354 bytes
 SHA1 (patch-aa) = dd970fa86865ee1eca0d41a86366a608e19b582a
-SHA1 (patch-ab) = 13d2c5b2110765005e9022a970a947db874fc9d4
+SHA1 (patch-ab) = 70ce109f41f0952eaa1fa08cb02c48d7f38a32af
 SHA1 (patch-ac) = 5523e5b146436a50b008f963a0b809379a9e4974
 SHA1 (patch-af) = b52845ca3d4d58a876538e8b4780a19419aabe75
 SHA1 (patch-ag) = a7cf7cd0b510e9a8293e5f8a43517cfc80a60d15
diff -r 1a4a7ba2554f -r a31a518a1732 devel/doxygen/patches/patch-ab
--- a/devel/doxygen/patches/patch-ab    Tue Oct 31 20:06:08 2006 +0000
+++ b/devel/doxygen/patches/patch-ab    Tue Oct 31 20:06:57 2006 +0000
@@ -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 $
+
+install_docs:
 
-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.
+  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 @@
        $(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)



Home | Main Index | Thread Index | Old Index