Added Makefile target for distribution tarballs.
Aaron Marcher me@drkhsh.at
Sun, 13 Aug 2017 23:05:22 +0200
1 files changed,
8 insertions(+),
0 deletions(-)
jump to
M
Makefile
→
Makefile
@@ -15,6 +15,14 @@
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"