File: Makefile

package info (click to toggle)
boxer-data 10.10.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,548 kB
  • sloc: makefile: 46; sh: 2
file content (20 lines) | stat: -rw-r--r-- 420 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
suites = bookworm trixie
getnodes = $(basename $(notdir $(wildcard $1/nodes/*.yml)))

all: symlinkfarm

symlinkfarm:
	shtool mkshadow bookworm trixie 2>/dev/null
	touch $@

test: symlinkfarm
	set -e; $(foreach suite,$(suites),\
	boxer compose --datadir $(suite) $(call getnodes,$(suite));)
	touch $@

clean:
	find * -type l -delete
	find * -empty -delete
	rm -f symlinkfarm test preseed.cfg script.sh

.PHONY: all clean