Add release target to Makefile, use -f for deletion
This commit is contained in:
parent
62f3fc6838
commit
6344135cb2
8
Makefile
8
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
|
||||
|
Loading…
Reference in New Issue
Block a user