Looks good,
Regards,
Hans
Joel Granados Moreno wrote:
---
Makefile | 14 ++++----------
1 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/Makefile b/Makefile
index 4d92015..f8b7e31 100644
--- a/Makefile
+++ b/Makefile
@@ -44,17 +44,11 @@ tag:
@git tag -a -m "Tag as pyblock-$(VERSION)-$(RELEASE)" pyblock-$(VERSION)-$(RELEASE)
@echo "Tagged as pyblock-$(VERSION)-$(RELEASE)"
-pyblock-$(VERSION).tar.bz2 :
- @rm -rvf /tmp/$@
- @rm -vf $(PWD)/../pyblock-$(VERSION)
- ln -sf $(PWD) $(PWD)/../pyblock-$(VERSION)
- tar cjhf /tmp/$@ --exclude playpen $(PWD)/../pyblock-$(VERSION)
- mv /tmp/$@ $(PWD)/
+archive-no-tag:
+ @git archive --format=tar --prefix=pyblock-$(VERSION)/ pyblock-$(VERSION)-$(RELEASE) > pyblock-$(VERSION).tar
+ @bzip2 -f pyblock-$(VERSION).tar
-.PHONY : pyblock-$(VERSION).tar.bz2
-archive : clean pyblock-$(VERSION).tar.bz2
-
-archive_tagged : tag archive
+archive: clean tag archive-no-tag
flat_install: all
@install -v -m 0755 -d ${DESTDIR}/
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list