tazbug diff Makefile @ rev 14
Makefile install config file for server and add uninstall
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 03 13:41:08 2012 +0200 (2012-04-03) |
parents | a2274a059036 |
children | 4530f3ccd644 |
line diff
1.1 --- a/Makefile Tue Apr 03 13:13:13 2012 +0200 1.2 +++ b/Makefile Tue Apr 03 13:41:08 2012 +0200 1.3 @@ -44,12 +44,21 @@ 1.4 # On SliTaz vhost: make install-server WEB=/home/slitaz/www 1.5 1.6 install-server: 1.7 + install -m 0777 -d $(DESTDIR)/etc/slitaz 1.8 install -m 0700 -d $(DESTDIR)$(VAR)/people 1.9 install -m 0700 -d $(DESTDIR)$(VAR)/auth 1.10 install -m 0777 -d $(DESTDIR)$(PREFIX)/share/doc/tazbug 1.11 + install -m 0644 tazbug.conf $(DESTDIR)/etc/slitaz 1.12 touch $(DESTDIR)$(VAR)/auth/people 1.13 chmod 0600 $(DESTDIR)$(VAR)/auth/people 1.14 cp -a web $(DESTDIR)$(WEB)/bugs 1.15 cp README $(DESTDIR)$(PREFIX)/share/doc/tazbug 1.16 chown -R www.www $(DESTDIR)$(VAR)/* 1.17 chown -R www.www $(DESTDIR)$(WEB)/bugs/bug 1.18 + 1.19 +# Uninstall client 1.20 + 1.21 +uninstall: 1.22 + rm -f $(DESTDIR)$(PREFIX)/bin/tazbug* 1.23 + rm -f $(DESTDIR)$(PREFIX)/share/applications/tazbug* 1.24 + rm -f $(DESTDIR)$(PREFIX)/etc/slitaz/tazbug.conf