r2051 - jhalfs/trunk

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sun Oct 2 16:26:03 PDT 2005


Author: jhuntwork
Date: 2005-10-02 17:26:02 -0600 (Sun, 02 Oct 2005)
New Revision: 2051

Modified:
   jhalfs/trunk/jhalfs
Log:
Fixed all occurences of 'touch $@' to be the last in a target

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2005-10-02 23:21:16 UTC (rev 2050)
+++ jhalfs/trunk/jhalfs	2005-10-02 23:26:02 UTC (rev 2051)
@@ -375,10 +375,6 @@
     # Insert date and disk usage at the bottom of the log file.
     echo -e "\techo -e \"\\\n\`date\`\\\n\\\nKB: \`du -sk --exclude=0??-* \$(LFS)\`\\\n\" >>logs/$i && \\" >> $MKFILE.tmp
 
-    # Include a touch of the target name so make can check
-    # if it's already been made.
-    echo -e "\ttouch \$@" >> $MKFILE.tmp
-
     # Remove the build directory(ies) even if the package build fails, except for
     # Binutils and TCL. In that cases the sources directories are removed
     # only if the build fails.
@@ -426,6 +422,10 @@
     echo -e "\t at if [ ! -e \$@ ] ; then \\" >> $MKFILE.tmp
     echo -e "\t\techo \"The build of \$@ has failed\" && exit 1; \\" >> $MKFILE.tmp
     echo -e "\tfi;" >> $MKFILE.tmp
+    
+    # Include a touch of the target name so make can check
+    # if it's already been made.
+    echo -e "\ttouch \$@" >> $MKFILE.tmp
 
     # Keep the script file name for Makefile dependencies.
     PREV=$i




More information about the alfs-log mailing list