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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Fri Jun 26 22:11:34 CEST 2009


Revision: 5384
          http://gar.svn.sourceforge.net/gar/?rev=5384&view=rev
Author:   bdwalton
Date:     2009-06-26 20:11:34 +0000 (Fri, 26 Jun 2009)

Log Message:
-----------
take advantage of new autoconf/automake support during build

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

Modified: csw/mgar/pkg/etckeeper/trunk/Makefile
===================================================================
--- csw/mgar/pkg/etckeeper/trunk/Makefile	2009-06-26 20:10:45 UTC (rev 5383)
+++ csw/mgar/pkg/etckeeper/trunk/Makefile	2009-06-26 20:11:34 UTC (rev 5384)
@@ -24,6 +24,8 @@
 
 SPKG_DESC_CSWetckeeper = Versioning for /etc
 
+LICENSE_CSWetckeeper = GPL
+
 GIT_REPOS = git://git.kitenet.net/etckeeper.git
 GIT_TREEISH_etckeeper.git = 0.37
 GIT_USE_PROXY = 1
@@ -42,7 +44,9 @@
 sysconfdir = /etc/opt/csw
 localstatedir = /var/opt/csw
 
-CONFIGURE_ARGS = $(DIRPATHS) --with-vcs=git
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --with-vcs=git --with-highlevel=apt --with-lowlevel=dpkg
+CONFIGURE_ARGS += --disable-bash-completion --disable-cruft-filter
 
 BUILD_SCRIPTS =
 
@@ -53,12 +57,14 @@
 PATH := /opt/csw/gnu:$(PATH)
 
 pre-configure-modulated:
-	@(cd $(WORKSRC); autoreconf )
+	@(cd $(WORKSRC); aclocal; autoconf; automake --add-missing --foreign )
 	@$(MAKECOOKIE)
 
 post-install-modulated:
-	( for d in apt cruft; do \
+	( for d in apt; do \
 		dir=$(DESTDIR)$(sysconfdir)/$$d; \
 		[ -d $$dir ] && rm -rf $$dir; \
-	    done )
+	    done; \
+	  mkdir -p $(DESTDIR)/$(docdir)/$(GARNAME); \
+	  gzip -c -9 $(WORKSRC)/README > $(DESTDIR)/$(docdir)/$(GARNAME)/README.gz  )
 	@$(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