diff options
author | jcwillia <jcwillia> | 2007-01-08 22:50:36 +0000 |
---|---|---|
committer | jcwillia <jcwillia> | 2007-01-08 22:50:36 +0000 |
commit | 27892721936509e3cedcf141049ffefb969e60d1 (patch) | |
tree | f94af68db602665bf92d39169ead5c892849d873 /Makefile | |
parent | ddcf8384772dc240aec64ba816f28c23f2e0fefa (diff) | |
download | mock-27892721936509e3cedcf141049ffefb969e60d1.tar.gz mock-27892721936509e3cedcf141049ffefb969e60d1.tar.xz mock-27892721936509e3cedcf141049ffefb969e60d1.zip |
merged latest mock-0-6-branch fixes
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -24,10 +24,13 @@ install: mkdir -p $(DESTDIR)/var/lib/mock for d in $(SUBDIRS); do make DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done +EXCLUDES := --exclude='*~' --exclude='*.patch' --exclude='*.save' \ + --exclude='*.rpm' --exclude='*.diff' --exclude='*.sh' \ + --exclude='*.tar.gz' --exclude='*.tar.bz2' --exclude='*test*' archive: clean @rm -rf ${PKGNAME}-*.tar.gz @rm -rf /tmp/${PKGNAME}-$(VERSION) /tmp/${PKGNAME} - @dir=$$PWD; cd /tmp; cp -a $$dir ${PKGNAME} + @rsync -a $(EXCLUDES) . /tmp/${PKGNAME} @rm -rf /tmp/${PKGNAME}/${PKGNAME}-daily.spec /tmp/${PKGNAME}/build /tmp/${PKGNAME}/dist @mv /tmp/${PKGNAME} /tmp/${PKGNAME}-$(VERSION) @dir=$$PWD; cd /tmp; tar cvz --exclude=CVS --exclude=.cvsignore -f $$dir/${PKGNAME}-$(VERSION).tar.gz ${PKGNAME}-$(VERSION) |