From: Michael Stapelberg Date: Fri, 24 Oct 2008 19:29:00 +0000 (+0200) Subject: Add release target to Makefile, use -f for deletion X-Git-Tag: 1.0~44 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6344135cb2e30e873a5a7ec2dc8fa0e5dca11ef2;p=i3%2Fi3status Add release target to Makefile, use -f for deletion --- diff --git a/Makefile b/Makefile index 3640b27..11c02bd 100644 --- a/Makefile +++ b/Makefile @@ -5,10 +5,10 @@ CFLAGS+=-DPREFIX=\"\" wmiistatus: wmiistatus.o wmiistatus.h config.h config.o clean: - rm *.o + rm -f *.o distclean: clean - rm wmiistatus + rm -f wmiistatus install: install -m 755 -d $(DESTDIR)/usr/bin @@ -17,4 +17,8 @@ install: install -m 755 wmiistatus.init $(DESTDIR)/etc/init.d/wmiistatus install -m 644 wmiistatus.conf $(DESTDIR)/etc/wmiistatus.conf +release: + tar cf wmiistatus.tar *.c *.h *.1 *.conf *.init Makefile + bzip2 -9 wmiistatus.tar + all: wmiistatus