Author: pierre
Date: Wed Aug  9 06:25:26 2017
New Revision: 3982

Log:
BLFS/Makefile:
-  Do not call make after inititalizing the tracking file
-  Remove the <package-version> file from tracking dir after using it
-  Fix a typo

Modified:
   jhalfs/trunk/BLFS/Makefile

Modified: jhalfs/trunk/BLFS/Makefile
==============================================================================
--- jhalfs/trunk/BLFS/Makefile  Tue Jul 11 09:22:35 2017        (r3981)
+++ jhalfs/trunk/BLFS/Makefile  Wed Aug  9 06:25:26 2017        (r3982)
@@ -1,5 +1,5 @@
 # From the Build Scripts Written By: Jim Gifford <l...@jg555.com>
-# Modified By: Joe Ciccone <jcicc...@linuxfromscratch.org
+# Modified By: Joe Ciccone <jcicc...@linuxfromscratch.org>
 # Additional changes: George Boudreau <geor...@linuxfromscratch.org>
 #                     Pierre Labastie <pierre.labastie at neuf.fr>
 
@@ -111,11 +111,10 @@
 $(TRACKFILE): $(TRACKING_DIR)
        $(Q)if ! [ -f $@ ]; then \
        echo Initializing $(TRACKFILE) && \
-       /bin/echo -e '$(INITIAL_TRACK)' > $@ && \
-       $(MAKE) $(PACK_LIST); \
+       /bin/echo -e '$(INITIAL_TRACK)' > $@; \
        fi
        $(Q)for track in $(TRACKING_DIR)/*-*; do \
-        if [ -f $$track ]; then \
+       if [ -f $$track ]; then \
        pack=$$(echo $$track | sed 's@.*/\(.*\)-[0-9c].*@\1@') && \
        version=$$(echo $$track | sed 's@.*-\([0-9c].*\)@\1@') && \
        xsltproc --stringparam packages $(PACK_LIST) \
@@ -124,7 +123,8 @@
        -o track.tmp $(XSLDIR)/bump.xsl $@ && \
        sed -i 's@PACKDESC@$(TOPDIR)/packdesc.dtd@' track.tmp && \
        xmllint --format --postvalid track.tmp > $@; \
-        fi; \
+       fi; \
+       rm -f $$track; \
        done; \
        rm -f track.tmp
 
-- 
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page

Reply via email to