Changeset ed9acf7 for BLFS/Makefile


Ignore:
Timestamp:
08/09/2017 01:29:01 PM (7 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4
Children:
9f6ceb0
Parents:
3917eca
Message:

Merge trunk rev 3982: 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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/Makefile

    r3917eca red9acf7  
    11# From the Build Scripts Written By: Jim Gifford <lfs@jg555.com>
    2 # Modified By: Joe Ciccone <jciccone@linuxfromscratch.org
     2# Modified By: Joe Ciccone <jciccone@linuxfromscratch.org>
    33# Additional changes: George Boudreau <georgeb@linuxfromscratch.org>
    44#                     Pierre Labastie <pierre.labastie at neuf.fr>
     
    112112        $(Q)if ! [ -f $@ ]; then \
    113113        echo Initializing $(TRACKFILE) && \
    114         /bin/echo -e '$(INITIAL_TRACK)' > $@ && \
    115         $(MAKE) $(PACK_LIST); \
     114        /bin/echo -e '$(INITIAL_TRACK)' > $@; \
    116115        fi
    117116        $(Q)for track in $(TRACKING_DIR)/*-*; do \
    118         if [ -f $$track ]; then \
     117        if [ -f $$track ]; then \
    119118        pack=$$(echo $$track | sed 's@.*/\(.*\)-[0-9c].*@\1@') && \
    120119        version=$$(echo $$track | sed 's@.*-\([0-9c].*\)@\1@') && \
     
    125124        sed -i 's@PACKDESC@$(TOPDIR)/packdesc.dtd@' track.tmp && \
    126125        xmllint --format --postvalid track.tmp > $@; \
    127         fi; \
     126        fi; \
     127        rm -f $$track; \
    128128        done; \
    129129        rm -f track.tmp
Note: See TracChangeset for help on using the changeset viewer.