# 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
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
# In addition, as a special exception, the Free Software Foundation
# gives permission to link the code of its release of Wget with the
# default target
all: src/config.h Makefile $(SUBDIRS)
-unittest: src/config.h Makefile
+test: src/config.h Makefile src
cd tests && $(MAKE) $(MAKEDEFS) $@
check: all
dist: $(srcdir)/configure DISTFILES
mkdir $(DISTNAME)
- for d in `$(FIND) . -type d ! -name CVS -a ! -name RCS -print`; do \
+ for d in `$(FIND) . -type d ! -regex '.*/\.svn\(/.*\)?' -print`; do \
if [ "$$d" != "." -a "$$d" != "./$(DISTNAME)" ]; then \
mkdir $(DISTNAME)/$$d; \
fi; \
DISTFILES: FORCE
rm -rf $(DISTNAME)
(cd $(srcdir); find . ! -type d -print) \
- | sed '/\/\(CVS\|RCS\)\//d; /$@/d; /\.tar.*/d; s/^.\///; /^\.$$/d;' \
+ | sed '/\/\.svn\//d; /$@/d; /\.tar.*/d; s/^.\///; /^\.$$/d;' \
| sort | uniq > $@
#