mirror of
https://github.com/mi57730/a2d.git
synced 2025-01-21 02:34:03 +00:00
Add TARGETS file listing DAs to simplify script maintenance
This commit is contained in:
parent
f3ac302764
commit
8b6678f17a
@ -7,8 +7,7 @@ OUTDIR = out
|
||||
|
||||
HEADERS = $(wildcard ../*.inc) $(wildcard ../inc/*.inc) $(wildcard *.inc)
|
||||
|
||||
DAS = calculator show.text.file date puzzle sort.directory \
|
||||
show.image.file this.apple eyes
|
||||
DAS = $(shell cat TARGETS)
|
||||
|
||||
TARGETS = $(patsubst %,$(OUTDIR)/%.built,$(DAS))
|
||||
|
||||
|
8
desk.acc/TARGETS
Normal file
8
desk.acc/TARGETS
Normal file
@ -0,0 +1,8 @@
|
||||
calculator
|
||||
show.text.file
|
||||
date
|
||||
puzzle
|
||||
sort.directory
|
||||
show.image.file
|
||||
this.apple
|
||||
eyes
|
@ -26,6 +26,6 @@ function mount {
|
||||
|
||||
mkdir -p mount
|
||||
echo "Copying files to mount/"
|
||||
mount 'show.image.file'
|
||||
mount 'this.apple'
|
||||
mount 'eyes'
|
||||
for file in $(cat TARGETS); do
|
||||
mount "$file"
|
||||
done
|
||||
|
@ -7,8 +7,7 @@ set -e
|
||||
|
||||
CADIUS="${CADIUS:-$HOME/dev/cadius/bin/release/cadius}"
|
||||
|
||||
DAS="calculator show.text.file date puzzle sort.directory \
|
||||
show.image.file this.apple eyes"
|
||||
DAS=$(cat TARGETS)
|
||||
|
||||
PACKDIR="out/package"
|
||||
FINFO="$PACKDIR/_FileInformation.txt"
|
||||
|
Loading…
x
Reference in New Issue
Block a user