Changeset 34986b8


Ignore:
Timestamp:
03/07/2012 09:38:18 PM (12 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs
Children:
2507cf7
Parents:
f3a500d
Message:

Add the version parameter of bump.xsl to Makefile
Separates first install of instpkg.xml from subsequent updates due to
new packages present in TRACK_DIR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/Makefile

    rf3a500d r34986b8  
    7070        echo Initializing $(TRACKFILE) && \
    7171        echo '$(INITIAL_TRACK)' > $@ && \
    72         $(MAKE) $(PACK_LIST) && \
    73         for track in $(TRACKING_DIR)/*-*; do \
    74         if [ -f $track ]; then \
     72        $(MAKE) $(PACK_LIST); \
     73        fi
     74        @for track in $(TRACKING_DIR)/*-*; do \
     75        if [ -f $$track ]; then \
    7576        pack=$$(echo $$track | sed 's@.*/\(.*\)-[0-9c].*@\1@') && \
     77        version=$$(echo $$track | sed 's@.*-\([0-9c].*\)@\1@') && \
    7678        xsltproc --stringparam packages $(PACK_LIST) \
    7779        --stringparam package $$pack \
     80        --stringparam version $$version \
    7881        -o track.tmp $(XSLDIR)/bump.xsl $@ && \
    7982        sed -i 's@PACKDESC@$(TOPDIR)/packdesc.dtd@' track.tmp && \
     
    8184        fi; \
    8285        done; \
    83         rm -f track.tmp; \
    84         fi
     86        rm -f track.tmp
    8587
    8688$(TRACKING_DIR):
Note: See TracChangeset for help on using the changeset viewer.