Implemented proper "uninstall" target for documentation files.

This commit is contained in:
Alexander Barton 2003-03-30 13:45:29 +00:00
parent 47faa8595a
commit 179e760cf1
1 changed files with 5 additions and 2 deletions

View File

@ -9,7 +9,7 @@
# Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
# der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
#
# $Id: Makefile.am,v 1.13 2003/03/30 13:31:17 alex Exp $
# $Id: Makefile.am,v 1.14 2003/03/30 13:45:29 alex Exp $
#
EXTRA_DIST = CVS.txt FAQ.txt Protocol.txt README-AUX.txt \
@ -18,7 +18,7 @@ EXTRA_DIST = CVS.txt FAQ.txt Protocol.txt README-AUX.txt \
maintainer-clean-local:
rm -f Makefile Makefile.in
docdir = $(datadir)/doc/ngircd
docdir = $(datadir)/doc/$(PACKAGE)
documents = $(EXTRA_DIST) ../AUTHORS ../COPYING ../ChangeLog ../INSTALL \
../NEWS ../README
@ -33,4 +33,7 @@ install-data-hook:
$(INSTALL) -m 644 -c $(srcdir)/$$f $(DESTDIR)$(docdir)/; \
done
uninstall-hook:
rm -rf $(DESTDIR)$(docdir)
# -eof-