~roadmr/ubuntu/precise/casper/973794

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Looking in which build system we are
BUILD_SYSTEM := $(shell lsb_release --short --id)

all:
	# Setting BUILD_SYSTEM in the binary package
	sed -i -e 's/\(BUILD_SYSTEM="\).*"/\1'$(BUILD_SYSTEM)'"/g' casper.conf

	$(MAKE) -C casper-md5check
	set -e; \
	for x in bin/* scripts/casper scripts/casper-bottom/* \
	         ubiquity-hooks/*; do \
		sh -n $$x; \
	done

clean:
	$(MAKE) -C casper-md5check clean