From 9e4443571fa21834747b0ea6d44e7f29cce14e0a Mon Sep 17 00:00:00 2001 From: hniksic Date: Thu, 23 Oct 2003 08:32:04 -0700 Subject: [PATCH] [svn] Keep configure.bat in the distribution. --- ChangeLog | 5 +++++ Makefile.in | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0fb31377..1858e548 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-10-23 Hrvoje Niksic + + * Makefile.in (dist): Depend on configure.bat. + (realclean-top): Delete configure.bat. + 2003-10-21 Hrvoje Niksic * Makefile.in (distclean-top): Remove the libtool script, because diff --git a/Makefile.in b/Makefile.in index da17a84c..44971e4f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 \ @@ -162,7 +164,7 @@ distclean-top: clean-top $(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 \