diff options
author | Jesús <heckyel@hyperbola.info> | 2021-02-20 13:33:25 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-02-20 13:33:25 -0500 |
commit | 455948b905a7d27ccd5f16c17cf09fc6645253b6 (patch) | |
tree | 0218e8dbd8a3931362d942b1acb88e0388250b59 | |
parent | c55514b6e5fc588f66af4c8e11974d6e78f5e9e9 (diff) | |
download | hypervideo-gui-455948b905a7d27ccd5f16c17cf09fc6645253b6.tar.lz hypervideo-gui-455948b905a7d27ccd5f16c17cf09fc6645253b6.tar.xz hypervideo-gui-455948b905a7d27ccd5f16c17cf09fc6645253b6.zip |
[Makefile]: change compress file and add version tarball
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -3,6 +3,14 @@ ifeq ($(DEBUG), 1) OPTS += -v endif +PROJECT_NAME = hypervideo-gui + +V_MAJOR = 1 +V_MINOR = 0 +V_PATCH = 3 +V_EXTRA = +VERSION = $(V_MAJOR).$(V_MINOR).$(V_PATCH)$(V_EXTRA) + help: @echo 'Makefile for generate tarball to Hypervideo GUI ' @echo ' ' @@ -23,12 +31,12 @@ README.txt: pandoc -f $(MARKDOWN) -t plain Changelog.md -o Changelog.txt clean: - rm -rf hypervideo-gui.tar.gz hypervideo_gui.egg-info README.txt Changelog.txt MANIFEST build/ dist/ + rm -rf $(PROJECT_NAME)-$(VERSION).tar.lz hypervideo_gui.egg-info README.txt Changelog.txt MANIFEST build/ dist/ || true find . -name "*.pyc" -delete find . -name "*.class" -delete dist: README.txt - @tar -czf hypervideo-gui.tar.gz --transform "s|^|hypervideo-gui/|" --owner 0 --group 0 \ + @tar --create --lzip --file="$(PROJECT_NAME)-$(VERSION).tar.lz" --transform "s|^|$(PROJECT_NAME)/|" --owner 0 --group 0 \ --exclude '*.DS_Store' \ --exclude '*.kate-swp' \ --exclude '*.pyc' \ |