Makefile: clarify stamp names
This commit is contained in:
parent
41676808b3
commit
721605d517
6
Makefile
6
Makefile
@ -52,17 +52,17 @@ rootfs-all-print:
|
||||
void-%-ROOTFS-$(DATE).tar.xz: $(SCRIPTS)
|
||||
$(SUDO) ./mkrootfs.sh $(XBPS_REPOSITORY) -x $(COMPRESSOR_THREADS) $*
|
||||
mkdir -p stamps
|
||||
touch stamps/platformfs-$*-$(DATE)-stamp
|
||||
touch stamps/rootfs-$*-$(DATE)-stamp
|
||||
|
||||
platformfs-all: rootfs-all $(ALL_PLATFORMFS)
|
||||
|
||||
platformfs-all-print:
|
||||
@echo $(ALL_PLATFORMFS) | sed "s: :\n:g"
|
||||
|
||||
void-%-PLATFORMFS-$(DATE).tar.xz: $(SCRIPTS) stamps/platformfs-%-$(DATE)-stamp
|
||||
void-%-PLATFORMFS-$(DATE).tar.xz: $(SCRIPTS) stamps/rootfs-%-$(DATE)-stamp
|
||||
$(SUDO) ./mkplatformfs.sh $(XBPS_REPOSITORY) -x $(COMPRESSOR_THREADS) $* void-$(shell ./lib.sh platform2arch $*)-ROOTFS-$(DATE).tar.xz
|
||||
|
||||
stamps/platformfs-%-$(DATE)-stamp:
|
||||
stamps/rootfs-%-$(DATE)-stamp:
|
||||
# This rule exists because you can't do the shell expansion in the
|
||||
# dependent rule resolution stage
|
||||
$(MAKE) void-$(shell ./lib.sh platform2arch $*)-ROOTFS-$(DATE).tar.xz
|
||||
|
Loading…
Reference in New Issue
Block a user