diff options
author | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-24 21:29:00 +0200 |
---|---|---|
committer | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-24 21:29:00 +0200 |
commit | 6344135cb2e30e873a5a7ec2dc8fa0e5dca11ef2 (patch) | |
tree | a07f0c3867ae73189ad620186b5bc80f80e26de8 | |
parent | 62f3fc6838bf0e59bb490b0da229649bf86d847c (diff) |
Add release target to Makefile, use -f for deletion
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |