X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/8dad4910bfc75aa1085a20de95ceee951588deae..8f5219b6dab5a1c9b7f92362a34aacfd393fa0e4:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index dbe636e..9fea3d9 100644 --- a/Makefile +++ b/Makefile @@ -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"