diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2025-01-18 22:14:40 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2025-01-18 22:14:40 +0400 |
commit | a2ae595bd149a2b43d66b871dbdc6b996e4e9567 (patch) | |
tree | 27783c94908d693b6b5f9c3650a72c672b7eaf0c | |
parent | 69245e7cd4b8bacc0d5774c040242162fe26fc52 (diff) |
include version number in the generated tarball
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -24,14 +24,14 @@ st: $(OBJ) $(CC) -o $@ $(OBJ) $(STLDFLAGS) clean: - rm -f st $(OBJ) st.tar.gz + rm -f st $(OBJ) st-farajli-$(VERSION).tar.gz dist: clean - mkdir -p st + mkdir -p st-farajli-$(VERSION) cp -R Makefile LICENSE config.mk\ - config.h arg.h st.h win.h $(SRC) st - tar -czf st-farajli.tar.gz st - rm -rf st/ + config.h arg.h st.h win.h $(SRC) st-farajli-$(VERSION) + tar -czf st-farajli-$(VERSION).tar.gz st-farajli-$(VERSION) + rm -rf st-farajli-$(VERSION) install: st mkdir -p $(DESTDIR)$(PREFIX)/bin |