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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Fri Jan 23 22:37:01 CET 2009


Revision: 2899
          http://gar.svn.sourceforge.net/gar/?rev=2899&view=rev
Author:   bdwalton
Date:     2009-01-23 21:37:01 +0000 (Fri, 23 Jan 2009)

Log Message:
-----------
added files to share/doc/

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

Modified: csw/mgar/pkg/cvsps/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cvsps/trunk/Makefile	2009-01-23 21:24:59 UTC (rev 2898)
+++ csw/mgar/pkg/cvsps/trunk/Makefile	2009-01-23 21:37:01 UTC (rev 2899)
@@ -32,10 +32,15 @@
 
 include gar/category.mk
 
+DOCDIR = $(datadir)/doc/$(GARNAME)-$(GARVERSION)
+
 pre-configure-modulated:
 	@echo About to initialize the autotools bits.
 	@(cd $(WORKSRC); chmod +x autoinit.sh; ./autoinit.sh)
 	@$(MAKECOOKIE)
 
-pre-install:
-	@echo DESTDIR is $(DESTDIR)
+post-install-modulated:
+	@echo Installing README's, etc.
+	@(cd $(WORKSRC_FIRSTMOD); ginstall -m 0755 -d $(DESTDIR)/$(DOCDIR); \
+		ginstall -m 0644 CHANGELOG README COPYING $(DESTDIR)/$(DOCDIR))
+	@$(MAKECOOKIE)


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