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

skayser at users.sourceforge.net skayser at users.sourceforge.net
Thu Dec 9 23:21:14 CET 2010


Revision: 11868
          http://gar.svn.sourceforge.net/gar/?rev=11868&view=rev
Author:   skayser
Date:     2010-12-09 22:21:14 +0000 (Thu, 09 Dec 2010)

Log Message:
-----------
spine: couldn't resist, further cleanups, up for grabs ... go for it

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

Modified: csw/mgar/pkg/spine/trunk/Makefile
===================================================================
--- csw/mgar/pkg/spine/trunk/Makefile	2010-12-09 22:13:44 UTC (rev 11867)
+++ csw/mgar/pkg/spine/trunk/Makefile	2010-12-09 22:21:14 UTC (rev 11868)
@@ -26,8 +26,6 @@
 DISTFILES   += cswusergroup CSWspine.postinstall
 WORKSRC      = $(WORKDIR)/cacti-$(GARNAME)-$(GARVERSION)
 
-LICENSE = LICENSE
-
 PATCHFILES += configure.diff
 PATCHFILES += spine.h.diff
 PATCHFILES += util.c.diff
@@ -54,6 +52,8 @@
 sysconfdir = /etc/opt/csw
 PRESERVECONF = $(sysconfdir)/spine.conf
 
+EXTRA_PAX_ARGS = '-s,ChangeLog,changelog,p'
+
 include gar/category.mk
 
 configure-custom:
@@ -67,20 +67,13 @@
 	( cd $(WORKSRC) ; ./configure $(CONFIGURE_ARGS) )
 	@$(MAKECOOKIE)
 
+install-custom: EXTRA_DOCS = README LICENSE LICENSE.LGPL ChangeLog
 install-custom: BINDIR = $(DESTDIR)$(bindir)
 install-custom: CFGDIR = $(DESTDIR)$(sysconfdir)
 install-custom: DOCDEST = $(DESTDIR)$(docdir)/spine
 install-custom:
 	ginstall -d $(DOCDEST)
-	ginstall -m 644 $(WORKSRC)/LICENSE $(DOCDEST)
-	ginstall -m 644 $(WORKSRC)/README $(DOCDEST)
-	ginstall -m 644 $(WORKSRC)/README-WINDOWS $(DOCDEST)
-	ginstall -m 644 $(WORKSRC)/INSTALL $(DOCDEST)
-	ginstall -m 644 $(WORKSRC)/LICENSE.LGPL $(DOCDEST)
-	ginstall -m 644 $(WORKSRC)/COPYING $(DOCDEST)
-	ginstall -m 644 $(WORKSRC)/ChangeLog $(DOCDEST)
-	ginstall -d $(BINDIR)
-	ginstall -m 755 $(WORKSRC)/spine $(BINDIR)
-	ginstall -d $(CFGDIR)
-	ginstall -m 644 $(WORKSRC)/spine.conf $(CFGDIR)/spine.conf
+	(cd $(WORKSRC); ginstall -m 644 $(EXTRA_DOCS) $(DOCDEST))
+	ginstall -Dm 755 $(WORKSRC)/spine $(BINDIR)
+	ginstall -Dm 644 $(WORKSRC)/spine.conf $(CFGDIR)/spine.conf
 	@$(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