[csw-devel] SF.net SVN: gar:[6986] csw/mgar/pkg/cgit/trunk/Makefile

trygvis at users.sourceforge.net trygvis at users.sourceforge.net
Mon Oct 26 23:27:01 CET 2009


Revision: 6986
          http://gar.svn.sourceforge.net/gar/?rev=6986&view=rev
Author:   trygvis
Date:     2009-10-26 22:27:01 +0000 (Mon, 26 Oct 2009)

Log Message:
-----------
o Adding documentation to cgit.

Modified Paths:
--------------
    csw/mgar/pkg/cgit/trunk/Makefile

Modified: csw/mgar/pkg/cgit/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cgit/trunk/Makefile	2009-10-26 21:14:05 UTC (rev 6985)
+++ csw/mgar/pkg/cgit/trunk/Makefile	2009-10-26 22:27:01 UTC (rev 6986)
@@ -44,6 +44,9 @@
 # Disable tests for now, need a round GNU'ism removal there too
 TEST_SCRIPTS =
 
+# pdf-doc does not work yet
+INSTALL_ARGS += man-doc html-doc
+
 PRESERVECONF  = /etc/opt/csw/cgit/apache.conf.CSW
 PRESERVECONF += /etc/opt/csw/cgit/cgitrc.CSW
 
@@ -51,10 +54,16 @@
 pre-extract-modulated: git-extract-cgit
 
 post-install-modulated:
-	@mkdir -p $(DESTDIR)/etc/opt/csw/cgit/
+	@mkdir -p $(DESTDIR)/etc/opt/csw/cgit
+	@mkdir -p $(DESTDIR)/opt/csw/share/man/man5
+	@mkdir -p $(DESTDIR)/opt/csw/share/doc/cgit
 	@cp $(FILEDIR)/apache.conf.CSW \
 		$(FILEDIR)/cgitrc.CSW \
 		$(DESTDIR)/etc/opt/csw/cgit/
-#	@$(MAKECOOKIE)
+	@cp $(WORKSRC)/cgitrc.5 $(DESTDIR)/opt/csw/share/man/man5
+	@cp $(WORKSRC)/cgitrc.5.txt $(DESTDIR)/opt/csw/share/doc/cgit
+	@cp $(WORKSRC)/cgitrc.5.html $(DESTDIR)/opt/csw/share/doc/cgit
+#	@cp $(WORKSRC)/cgitrc.5.pdf $(DESTDIR)/opt/csw/share/doc/cgit
+	@$(MAKECOOKIE)
 
 include gar/category.mk


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list