extras-buildsys Makefile,1.1,1.2

Daniel Williams (dcbw) fedora-extras-commits at redhat.com
Mon Jun 27 02:54:01 UTC 2005


Author: dcbw

Update of /cvs/fedora/extras-buildsys
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22129

Modified Files:
	Makefile 
Log Message:
Make 'make archive' work


Index: Makefile
===================================================================
RCS file: /cvs/fedora/extras-buildsys/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile	26 Jun 2005 14:52:23 -0000	1.1
+++ Makefile	27 Jun 2005 02:53:59 -0000	1.2
@@ -17,10 +17,18 @@
 	for d in $(SUBDIRS); do make DESTDIR=`cd $(DESTDIR); pwd` PKGNAME=$(PKGNAME) -C $$d install; [ $$? = 0 ] || exit 1; done
 
 archive:
-	@rm -rf ${PKGNAME}-%{VERSION}.tar.gz
+	@rm -rf ${PKGNAME}-$(VERSION).tar.bz2
 	@rm -rf /tmp/${PKGNAME}-$(VERSION) /tmp/${PKGNAME}
 	@dir=$$PWD; cd /tmp; cp -a $$dir ${PKGNAME}
 	@rm -f /tmp/${PKGNAME}/${PKGNAME}-daily.spec
+	@rm -rf /tmp/${PKGNAME}/server/certs
+	@rm -rf /tmp/${PKGNAME}/client/certs
+	@rm -rf /tmp/${PKGNAME}/utils/certs
+	@rm -rf `find /tmp/${PKGNAME} -name "CVS" | xargs`
+	@rm -f `find /tmp/${PKGNAME} -name ".#*" | xargs`
+	@rm -f `find /tmp/${PKGNAME} -name ".cvsignore" | xargs`
+	@rm -rf `find /tmp/${PKGNAME} -name "*.pyc" | xargs`
+	@rm -rf `find /tmp/${PKGNAME} -name "*.py.*" | xargs`
 	@mv /tmp/${PKGNAME} /tmp/${PKGNAME}-$(VERSION)
 	@dir=$$PWD; cd /tmp; tar cvjf $$dir/${PKGNAME}-$(VERSION).tar.bz2 ${PKGNAME}-$(VERSION)
 	@rm -rf /tmp/${PKGNAME}-$(VERSION)	




More information about the fedora-extras-commits mailing list