summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: faab00b1bc83a35ba2b63533782cad5e330e558e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
V=1.0.3

all:

install:
	install -D -m755 w3watch $(DESTDIR)/usr/bin/w3watch
	install -D -m644 config.sample $(DESTDIR)/usr/share/doc/w3watch/config.sample

uninstall:
	rm $(DESTDIR)/usr/bin/w3watch
	rm $(DESTDIR)/usr/share/doc/w3watch/config.sample
	rmdir $(DESTDIR)/usr/share/doc/w3watch/

dist:
	git archive --format=tar --prefix=w3watch-$(V)/ $(V) | gzip -9 > w3watch-$(V).tar.gz
	gpg --detach-sign --use-agent w3watch-$(V).tar.gz