diff options
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..89240e2 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +V=1.0.0 + +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 + +dist: + git archive --format=tar --prefix=w3watch-$(V)/ $(V) | gzip -9 > w3watch-$(V).tar.gz |