]> sjero.net Git - wget/blobdiff - Makefile.in
[svn] Use new macros xnew, xnew0, xnew_array, and xnew0_array in various places.
[wget] / Makefile.in
index 335e410166823724fa4d84daa5aacadb9ffc7cf3..44971e4fccb02ff6e0553fd725988ff917044e9e 100644 (file)
@@ -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,13 +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 \