diff options
author | 2012-02-14 04:31:36 +0100 | |
---|---|---|
committer | 2012-02-14 04:31:36 +0100 | |
commit | 3f5ac641c8d4e2a9fe69a1ab64948233d19feb06 (patch) | |
tree | c1b6a804390a44c7b8781d5e6ac77988c89d15ce | |
parent | Add basic help file and README. Fix dist-upload in the Makefile. (diff) | |
download | eselect-syntax-3f5ac641c8d4e2a9fe69a1ab64948233d19feb06.tar.gz eselect-syntax-3f5ac641c8d4e2a9fe69a1ab64948233d19feb06.tar.bz2 eselect-syntax-3f5ac641c8d4e2a9fe69a1ab64948233d19feb06.zip |
-rw-r--r-- | Makefile | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -58,12 +58,20 @@ uninstall-files: $(foreach a, $(sort $(files)), \ uninstall-file-%: $(subst _,/,$*) [ ! -f "$(PREFIX)/$(subst _,/,$*)" ] || rm "$(PREFIX)/$(subst _,/,$*)" -dist: - mkdir "$(distpkg)" - $(MAKE) PREFIX="$(distpkg)" install - cp README "$(distpkg)/" - tar jcf "$(distpkg).tar.bz2" "$(distpkg)" - rm -fr "$(distpkg)/" +tag: + git pull + git tag $(distpkg) + @echo + @echo "tag created remember to push it" + @echo + +dist: tag + git archive --prefix=$(distpkg)/ --format=tar -o $(distpkg).tar $(distpkg) + mkdir $(distpkg)/ + git log > $(distpkg)/ChangeLog + tar vfr $(distpkg).tar $(distpkg)/ChangeLog + bzip2 $(distpkg).tar + rm -rf $(distpkg)/ dist-upload: dist scp $(distpkg).tar.bz2 dev.gentoo.org:/space/distfiles-local/ |