]> granicus.if.org Git - ejabberd/commitdiff
* src/Makefile.in: New options make uninstall and
authorBadlop <badlop@process-one.net>
Sun, 2 Dec 2007 01:03:18 +0000 (01:03 +0000)
committerBadlop <badlop@process-one.net>
Sun, 2 Dec 2007 01:03:18 +0000 (01:03 +0000)
uninstall-all (EJAB-293)

SVN Revision: 1013

ChangeLog
src/Makefile.in

index bbc227be4dcb24e0394548824a6a463e9cc0b5ce..7d87328dc634627c10e03c42b862fae5d4867d88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-02  Badlop  <badlop@process-one.net>
+
+       * src/Makefile.in: New options make uninstall and
+       uninstall-all (EJAB-293)
+
 2007-12-01  Mickael Remond  <mremond@process-one.net>
 
        * doc/Makefile: echo seems to interpret \n and \v under MacOSX
index b327ecb54577bdb76985a435df9e9763a2104eaf..23dfa2e4785b84f0c8d44c170f32199870ac6ac8 100644 (file)
@@ -107,6 +107,20 @@ install: all
        install -m 755 ejabberdctl.example $(SBINDIR)/ejabberdctl
        install -d $(LOGDIR)
 
+uninstall: uninstall-binary
+
+uninstall-binary:
+       rm -rf $(BEAMDIR)
+       rm -rf $(SODIR)
+       rm -rf $(MSGSDIR)
+       rm -rf $(PRIVDIR)
+       rm -rf $(SBINDIR)/ejabberdctl
+
+uninstall-all: uninstall-binary
+       rm -rf $(ETCDIR)
+       rm -rf $(LOGDIR)
+       rm -rf $(EJABBERDDIR)
+
 clean: clean-recursive clean-local
 
 clean-local: