Hello,

On Fri, May 20, 2005 at 12:23:06PM -0700, Paul Eggert wrote:
> [mail archive] corrupted that patch.  Can you please resend it?  Thanks.

sure, here it is.

Stepan Kasal
2005-01-29  Stepan Kasal  <[EMAIL PROTECTED]>

        * bin/Makefile.am: Merge the two rules for creating scripts.

Index: bin/Makefile.am
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/Makefile.am,v
retrieving revision 1.23
diff -u -r1.23 Makefile.am
--- bin/Makefile.am     14 May 2005 07:00:39 -0000      1.23
+++ bin/Makefile.am     20 May 2005 09:39:51 -0000
@@ -55,17 +55,18 @@
 autoconf.in: $(srcdir)/autoconf.as $(m4sh_m4f_dependencies)
        $(MY_AUTOM4TE) --language M4sh --cache '' $(srcdir)/autoconf.as -o $@
 
-## All the files below depend on Makefile so that they are rebuilt
-## when the prefix etc. changes.  It took quite a while to have these
-## rules correct, don't break them!
+## All the scripts depend on Makefile so that they are rebuilt when the
+## prefix etc. changes.  It took quite a while to have the rule correct,
+## don't break it!
 ## Use chmod -w to prevent people from editing the wrong file by accident.
-autoheader autom4te autoreconf autoscan autoupdate ifnames: Makefile
+$(bin_SCRIPTS): Makefile
        rm -f $@ [EMAIL PROTECTED]
-       $(edit) $(srcdir)/[EMAIL PROTECTED] >[EMAIL PROTECTED]
+       $(edit) `test -f ./[EMAIL PROTECTED] || echo $(srcdir)/[EMAIL 
PROTECTED] >[EMAIL PROTECTED]
        chmod +x [EMAIL PROTECTED]
        chmod a-w [EMAIL PROTECTED]
        mv [EMAIL PROTECTED] $@
 
+autoconf: autoconf.in
 autoheader: $(srcdir)/autoheader.in
 autom4te: $(srcdir)/autom4te.in
 autoreconf: $(srcdir)/autoreconf.in
@@ -73,14 +74,6 @@
 autoupdate: $(srcdir)/autoupdate.in
 ifnames: $(srcdir)/ifnames.in
 
-# autoconf.in is in ., not in $(srcdir).
-autoconf: autoconf.in Makefile
-       rm -f $@ [EMAIL PROTECTED]
-       $(edit) [EMAIL PROTECTED] >[EMAIL PROTECTED]
-       chmod +x [EMAIL PROTECTED]
-       chmod a-w [EMAIL PROTECTED]
-       mv [EMAIL PROTECTED] $@
-
 
 ## --------------- ##
 ## Building TAGS.  ##

Reply via email to