From a2ae595bd149a2b43d66b871dbdc6b996e4e9567 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sat, 18 Jan 2025 22:14:40 +0400 Subject: include version number in the generated tarball --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 8a82fc1..2c9f353 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3