Write 'SOURCES =' line after copying Makefile.am variables
authorTom Tromey <tromey@redhat.com>
Thu, 23 Nov 1995 18:02:38 +0000 (18:02 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 23 Nov 1995 18:02:38 +0000 (18:02 +0000)
automake.in

index 5f6bc22..ba81984 100755 (executable)
@@ -368,9 +368,6 @@ p
     cat $am_dir/remake-hdr.am >&5 ;;
   esac
 
-  echo "SOURCES = $SOURCES" >&4
-  echo "OBJECTS = $OBJECTS" >&4
-
   #
   # Handle TAGS.
   #
@@ -457,11 +454,13 @@ p
   }
 
 
-  # Copy from Makefile.am to output.  FIXME should do SOURCES= after
-  # this.
+  # Copy from Makefile.am to output.
   sed '/^[^#=]*:/,$d' ${am_makefile}.am >&4
   sed -n '/^[^#=]*:/,$p' ${am_makefile}.am >&5
 
+  echo "SOURCES = $SOURCES" >&4
+  echo "OBJECTS = $OBJECTS" >&4
+
 
   # Output variable definitions.
   exec 6> ${am_makefile}.in