]> mj.ucw.cz Git - ursary.git/blobdiff - Makefile
Init script and related fixes
[ursary.git] / Makefile
index f2849b1c97b5ed942a0c20ebe216e654aa1d5677..1b41fea395a7a966ee9134624ddc2237a9c86941 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -26,3 +26,7 @@ pulse-ucw.o: pulse-ucw.c ursaryd.h
 clean:
        rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`
        rm -f ursaryd
+
+install: all
+       install -m 755 ursaryd /usr/local/sbin/
+       install -m 755 debian-init /etc/init.d/ursaryd