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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Tue Mar 8 03:52:52 CET 2011


Revision: 13672
          http://gar.svn.sourceforge.net/gar/?rev=13672&view=rev
Author:   bdwalton
Date:     2011-03-08 02:52:52 +0000 (Tue, 08 Mar 2011)

Log Message:
-----------
xmltoman/trunk: add post build and post install hooks to get man pages

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

Modified: csw/mgar/pkg/xmltoman/trunk/Makefile
===================================================================
--- csw/mgar/pkg/xmltoman/trunk/Makefile	2011-03-08 02:47:18 UTC (rev 13671)
+++ csw/mgar/pkg/xmltoman/trunk/Makefile	2011-03-08 02:52:52 UTC (rev 13672)
@@ -18,3 +18,11 @@
 TEST_SCRIPTS =
 
 include gar/category.mk
+
+post-build-modulated:
+	@(cd $(WORKSRC); for m in xmltoman xmlmantohtml; do gmake $$m.1; done)
+	@$(MAKECOOKIE);
+
+post-install-modulated:
+	@(cd $(WORKSRC); gmkdir -p $(DESTDIR)$(mandir)/man1; for m in xmltoman xmlmantohtml; do cp $$m.1 $(DESTDIR)$(mandir)/man1; done)
+	@$(MAKECOOKIE)
\ No newline at end of file


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