Unified · Split
| @@ -6,4 +6,5 @@ · 5 unmodified lines | ||
| 6 | 6 | *.tar.gz |
| 7 | 7 | xbps-cache |
| 8 | 8 | xbps-cachedir* |
| 9 | +stamps* | |
| 9 | 10 | !dracut/*/*.sh |
| @@ -51,16 +51,18 @@ rootfs-all-print: · 50 unmodified lines | ||
| 51 | 51 | |
| 52 | 52 | void-%-ROOTFS-$(DATE).tar.xz: $(SCRIPTS) |
| 53 | 53 | $(SUDO) ./mkrootfs.sh $(XBPS_REPOSITORY) -x $(COMPRESSOR_THREADS) $* |
| 54 | + mkdir -p stamps | |
| 55 | + touch stamps/platformfs-$*-$(DATE)-stamp | |
| 54 | 56 | |
| 55 | 57 | platformfs-all: rootfs-all $(ALL_PLATFORMFS) |
| 56 | 58 | |
| 57 | 59 | platformfs-all-print: |
| 58 | 60 | @echo $(ALL_PLATFORMFS) | sed "s: :\n:g" |
| 59 | 61 | |
| 60 | −void-%-PLATFORMFS-$(DATE).tar.xz: $(SCRIPTS) platformfs-%-helper | |
| 62 | +void-%-PLATFORMFS-$(DATE).tar.xz: $(SCRIPTS) stamps/platformfs-%-$(DATE)-stamp | |
| 61 | 63 | $(SUDO) ./mkplatformfs.sh $(XBPS_REPOSITORY) -x $(COMPRESSOR_THREADS) $* void-$(shell ./lib.sh platform2arch $*)-ROOTFS-$(DATE).tar.xz |
| 62 | 64 | |
| 63 | −platformfs-%-helper: | |
| 65 | +stamps/platformfs-%-$(DATE)-stamp: | |
| 64 | 66 | # This rule exists because you can't do the shell expansion in the |
| 65 | 67 | # dependent rule resolution stage |
| 66 | 68 | $(MAKE) void-$(shell ./lib.sh platform2arch $*)-ROOTFS-$(DATE).tar.xz |
| @@ -90,4 +92,4 @@ pxe-all-print: · 23 unmodified lines | ||
| 90 | 92 | void-%-NETBOOT-$(DATE).tar.gz: $(SCRIPTS) void-%-ROOTFS-$(DATE).tar.xz |
| 91 | 93 | $(SUDO) ./mknet.sh void-$*-ROOTFS-$(DATE).tar.xz |
| 92 | 94 | |
| 93 | −.PHONY: clean dist rootfs-all-print platformfs-all-print pxe-all-print platformfs-%-helper | |
| 95 | +.PHONY: clean dist rootfs-all-print platformfs-all-print pxe-all-print | |