- # Setting BUILD_SYSTEM in the binary package
- sed -i -e 's/\(BUILD_SYSTEM="\).*"/\1'$(BUILD_SYSTEM)'"/g' casper.conf
-ifeq ($(BUILD_SYSTEM),Ubuntu)
- cp debian/control.ubuntu debian/control
-else
- cp debian/control.debian debian/control
-endif
-
- # Building package
- $(MAKE) -C casper-md5check
- set -e; \
- for x in bin/* scripts/casper scripts/casper-bottom/* \
- ubiquity-hooks/*; do \
- sh -n $$x; \
- done