diff options
author | Aaron Marcher <me@drkhsh.at> | 2017-08-13 23:05:22 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2017-08-13 23:05:22 +0200 |
commit | aa17443013b1812186d2b51a284ed53cc63144aa (patch) | |
tree | 58c9f9b9a2e5426baaa391cd8bd02bf1a268654b | |
parent | 96334e2079c0a4607aaa1ba78a7d633fa257ecc2 (diff) |
Added Makefile target for distribution tarballs.
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -15,6 +15,14 @@ config.h: clean: rm -f slstatus +dist: + rm -rf "slstatus-$(VERSION)" + mkdir -p "slstatus-$(VERSION)" + cp -R arg.h config.def.h config.mk LICENSE Makefile README slstatus.1 \ + slstatus.c slstatus.png "slstatus-$(VERSION)" + tar -cf - "slstatus-$(VERSION)" | gzip -c > "slstatus-$(VERSION).tar.gz" + rm -rf "slstatus-$(VERSION)" + install: all mkdir -p "$(DESTDIR)$(PREFIX)/bin" cp -f slstatus "$(DESTDIR)$(PREFIX)/bin" |