diff -Naur xotcl-1.2.1-orig/ChangeLog xotcl-1.2.1/ChangeLog --- xotcl-1.2.1-orig/ChangeLog Sun Jun 13 13:56:56 2004 +++ xotcl-1.2.1/ChangeLog Sun Jun 13 15:35:23 2004 @@ -1,3 +1,8 @@ +2004-06-13 jim@jam.sessionsnet.org + * fixed make distclean target + factored list of configure output files into macro + made sure value of output files got through to make distclean target + 2004-06-12 Gustaf.Neumann@wu-wien.ac.at * changed namespace treatment in procs/instprocs in provious versions, methods were evaluated in the namespace diff -Naur xotcl-1.2.1-orig/Makefile.in xotcl-1.2.1/Makefile.in --- xotcl-1.2.1-orig/Makefile.in Sun Jun 13 13:36:01 2004 +++ xotcl-1.2.1/Makefile.in Sun Jun 13 13:35:37 2004 @@ -175,7 +175,7 @@ #DEFS = $(TCL_DEFS) @DEFS@ $(EXTRA_CFLAGS) DEFS = @DEFS@ $(EXTRA_CFLAGS) -CONFIG_CLEAN_FILES = Makefile +CONFIG_CLEAN_FILES = @CONFIG_CLEAN_FILES@ CPPFLAGS = @CPPFLAGS@ LIBS = @PKG_LIBS@ @LIBS@ diff -Naur xotcl-1.2.1-orig/configure.in xotcl-1.2.1/configure.in --- xotcl-1.2.1-orig/configure.in Sun Jun 13 13:36:01 2004 +++ xotcl-1.2.1/configure.in Sun Jun 13 13:53:24 2004 @@ -361,8 +361,36 @@ AC_SUBST(apps_actiweb) AC_SUBST(TEA_PLATFORM) + +dnl macro expanding to the names of files ./configure is to generate. +dnl reasoning: this is a factoring; I use this value elsewhere. +dnl +dnl Change the value of -this- macro if you want to add or remove +dnl such files. + +AC_DEFUN(CONFIG_OUTPUT_FILES, [[Makefile xotclConfig.sh apps/utils/xotclsh apps/utils/xowish unix/xotcl.spec unix/pkgIndex.unix]]) + +#-------------------------------------------------------------------- +# the value of this variable is set to the files which are to be +# removed when the user invokes 'make distclean' (i.e., those +# files generated by ./configure) and is used in the make distclean +# target, defined in Makefile.in +#-------------------------------------------------------------------- + +CONFIG_CLEAN_FILES="CONFIG_OUTPUT_FILES" + +AC_SUBST(CONFIG_CLEAN_FILES) + +AC_CONFIG_FILES(CONFIG_OUTPUT_FILES) + #-------------------------------------------------------------------- -# Finally, substitute all of the various values into the Makefile. +# Finally, substitute all of the various values into the Makefile, +# and generate the other output files. (this is done by invoking +# config.status) +# +# NOTE the lack of parameters! AC_OUTPUT with params is deprecated; +# use macros such as AC_CONFIG_FILES, AC_HEADER_FILES, etc to add +# to the files output by ./configure. #-------------------------------------------------------------------- -AC_OUTPUT([Makefile xotclConfig.sh apps/utils/xotclsh apps/utils/xowish unix/xotcl.spec unix/pkgIndex.unix]) +AC_OUTPUT