]> sjero.net Git - wget/blobdiff - Makefile.in
[svn] Don't declare long-gone function "pwd_cuserid".
[wget] / Makefile.in
index 8a5b011353f41ef32978c7704f178c3e1590a9d1..44971e4fccb02ff6e0553fd725988ff917044e9e 100644 (file)
@@ -85,7 +85,7 @@ infodir='$(infodir)' mandir='$(mandir)' manext='$(manext)'
 SUBDIRS = src doc po util windows
 
 # default target
-all: libtool src/config.h Makefile configure.bat $(SUBDIRS)
+all: libtool src/config.h Makefile $(SUBDIRS)
 
 check: all
 
@@ -113,6 +113,8 @@ libtool: $(LIBTOOL_DEPS)
        $(SHELL) ./config.status --recheck
 
 # Create configure.bat from configure.bat.in by DOS-ifying the lines.
+# This is invoked by `make dist' and deleted by `make realclean' (not
+# `make distclean' because we want to preserve it for distribution).
 configure.bat: configure.bat.in
        awk '{ print $$0 ($$0 ~ /\r$$/ ? "" : "\r") }' $@.in > $@
 
@@ -120,7 +122,7 @@ configure.bat: configure.bat.in
 TAGS:
        cd src && $(MAKE) $@
 
-dist: $(srcdir)/configure DISTFILES
+dist: $(srcdir)/configure $(srcdir)/configure.bat DISTFILES
        mkdir $(DISTNAME)
        for d in `$(FIND) . -type d ! -name CVS -a ! -name RCS -print`; do \
                if [ "$$d" != "." -a "$$d" != "./$(DISTNAME)" ]; then \
@@ -155,12 +157,14 @@ realclean:        realclean-recursive     realclean-top
 
 clean-top:
        $(RM) *~ *.bak $(DISTNAME).tar.gz
+       $(RM) -r .libs
 
 distclean-top: clean-top
-       $(RM) Makefile config.status config.log config.cache stamp-h
+       $(RM) Makefile config.status config.log config.cache libtool stamp-h
+       $(RM) -r autom4te.cache
 
 realclean-top: distclean-top
-       $(RM) configure
+       $(RM) configure configure.bat
 
 clean-recursive distclean-recursive realclean-recursive:
        for subdir in $(SUBDIRS); do \