Changeset 6001 in /cluster/svnroot


Ignore:
Timestamp:
Mar 18, 2018 6:08:21 PM (3 years ago)
Author:
skylar
Message:

set mtime of bccd-revision to bccd.noarch.deb if it is available, to avoid unnecessary deb build re #915

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar/bccd-3.4.0-build_ng/Makefile

    r5990 r6001  
    1515        /bin/mkdir -p "$(WORKSPACE)"/build/etc
    1616        @echo "$(VERSION).$(SVN_REVISION)" > "$(WORKSPACE)"/build/etc/bccd-revision
     17        # Set modification time of bccd-revision to bccd.noarch.deb if it is available, to avoid
     18        # unnecessary rebuild of bccd.noarch.deb if it is copied in from another build
     19        ifeq (,$(wildcard "$(WORKSPACE)"/target/bccd.noarch.deb))
     20                $(touch -r "$(WORKSPACE)"/target/bccd.noarch.deb)
     21        endif
    1722
    1823target/bccd.noarch.deb: build/etc/bccd-revision
Note: See TracChangeset for help on using the changeset viewer.