commit 11a04d75c238f1e3848bbf7f9e9b32c61e65defe parent fece505991314d54fa4ed5279e8057940a70c0ce Author: sin <sin@2f30.org> Date: Thu, 11 Feb 2016 17:36:23 +0000 Add dist target to Makefile Diffstat:
M | Makefile | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -25,5 +25,12 @@ uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN) rm -f $(DESTDIR)$(MANPREFIX)/man1/$(BIN).1 +dist: clean + mkdir -p sbm-$(VERSION) + cp Makefile arg.h sbm.1 sbm.c sbm-$(VERSION) + tar -cf sbm-$(VERSION).tar sbm-$(VERSION) + gzip sbm-$(VERSION).tar + rm -rf sbm-$(VERSION) + clean: rm -f $(BIN) $(OBJ)