# Makefile for `Wget' utility
# Copyright (C) 1995, 1996, 1997, 2006, 2007,
-# 2008 Free Software Foundation, Inc.
+# 2008, 2009 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Version: @VERSION@
#
+
+# We can't help that installing wget.info leaves /usr/share/info/dir
+# around, and we need to prevent uninstallation of the possibly
+# previously-existing /etc/wgetrc.
+distuninstallcheck_listfiles = find . -type f | \
+ grep -Ev '(/share/info/dir|/etc/wgetrc)$$'
+
# Search for macros in the m4 subdirectory:
ACLOCAL_AMFLAGS = -I m4 -I md5/m4
EXTRA_DIST = ChangeLog.README configure.bat MAILING-LIST \
msdos/ChangeLog msdos/config.h msdos/Makefile.DJ \
- msdos/Makefile.WC ABOUT-NLS autogen.sh
+ msdos/Makefile.WC ABOUT-NLS autogen.sh \
+ build-aux/build_info.pl
CLEANFILES = *~ *.bak $(DISTNAME).tar.gz