Added uninstall hook to complete uninstall.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1590 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
cf26f64386
commit
848630b2a7
|
@ -81,3 +81,7 @@ install-exec-hook:
|
||||||
( cd $(DESTDIR)@bindir@; mkdir -p $(DESTDIR)$(cgidir); mv zms $(DESTDIR)$(cgidir) )
|
( cd $(DESTDIR)@bindir@; mkdir -p $(DESTDIR)$(cgidir); mv zms $(DESTDIR)$(cgidir) )
|
||||||
( cd $(DESTDIR)$(cgidir); chown $(webuser):$(webgroup) zms; ln -f zms nph-zms )
|
( cd $(DESTDIR)$(cgidir); chown $(webuser):$(webgroup) zms; ln -f zms nph-zms )
|
||||||
( cd $(DESTDIR)@bindir@; chmod u+s zmfix )
|
( cd $(DESTDIR)@bindir@; chmod u+s zmfix )
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
( cd $(DESTDIR)$(cgidir); rm -f zms nph-zms )
|
||||||
|
|
||||||
|
|
|
@ -212,3 +212,5 @@ install-data-hook:
|
||||||
@-( cd $(DESTDIR)$(webdir); if ! test -e temp; then mkdir temp; fi; chown $(webuser):$(webgroup) temp; chmod u+w temp )
|
@-( cd $(DESTDIR)$(webdir); if ! test -e temp; then mkdir temp; fi; chown $(webuser):$(webgroup) temp; chmod u+w temp )
|
||||||
-( cd $(DESTDIR)$(webdir); ln -s zm.php index.php )
|
-( cd $(DESTDIR)$(webdir); ln -s zm.php index.php )
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
@-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp )
|
||||||
|
|
Loading…
Reference in New Issue