mirror of
https://github.com/znc/znc.git
synced 2026-07-21 09:03:32 +02:00
Add "make uninstall" target
(And some minor fixes to "make install") git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1580 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -92,4 +92,11 @@ modperl_install: create_install_dir
|
||||
install -m 0644 $$i $(DESTDIR)$(MODDIR); \
|
||||
done
|
||||
|
||||
uninstall:
|
||||
# Yes, we are lazy, just remove everything in there
|
||||
rm -rf $(DESTDIR)$(MODDIR)/*
|
||||
rm -rf $(DESTDIR)$(DATADIR)/*
|
||||
rmdir $(DESTDIR)$(MODDIR)
|
||||
rmdir $(DESTDIR)$(DATADIR)
|
||||
|
||||
-include $(wildcard .depend/*.dep)
|
||||
|
||||
Reference in New Issue
Block a user