summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-01-18 21:59:03 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-01-18 21:59:03 +0400
commit67c60afaf25dbb5c59452aa064bc7f99f5597acf (patch)
treeb395bd269b846c77ce3352e3466d004ba75494fa
parentc9b61d8c8822523877ddddab9c7750fac992b0d5 (diff)
include version number in the generated tarballHEADmaster
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 1dc9b2a..5c3f7e2 100644
--- a/Makefile
+++ b/Makefile
@@ -20,14 +20,14 @@ stest: stest.o
$(CC) -o $@ stest.o $(LDFLAGS)
clean:
- rm -f dmenu stest $(OBJ) dmenu.tar.gz
+ rm -f dmenu stest $(OBJ) dmenu-farajli-$(VERSION).tar.gz
dist: clean
- mkdir -p dmenu
+ mkdir -p dmenu-farajli-$(VERSION)
cp Makefile arg.h config.h config.mk dmenu.1\
- drw.h util.h dmenu_path dmenu_run stest.1 $(SRC) dmenu
- tar -czf dmenu-farajli.tar.gz dmenu
- rm -rf dmenu
+ drw.h util.h dmenu_path dmenu_run stest.1 $(SRC) dmenu-farajli-$(VERSION)
+ tar -czf dmenu-farajli-$(VERSION).tar.gz dmenu-farajli-$(VERSION)
+ rm -rf dmenu-farajli-$(VERSION)
install: all
mkdir -p $(DESTDIR)$(PREFIX)/bin