| 1 |
|
| 2 |
|
| 3 |
AUTOGEN_DEB_FILESscip-debian debian flash-kernel 3.110 flash-kernel/rules/AUTOGEN_DEB_FILES. := flash-kernel.templates flash-kernel-installer.postinst default/flash-kernel |
| 4 |
|
| 5 |
ifeq (yes,$(shellscip-debian debian flash-kernel 3.110 flash-kernel/rules/shell. dpkg-vendor --derives-from Ubuntu && echo yes)) |
| 6 |
DEFAULT_CMDLINEscip-debian debian flash-kernel 3.110 flash-kernel/rules/DEFAULT_CMDLINE. := quiet splash |
| 7 |
else |
| 8 |
DEFAULT_CMDLINEscip-debian debian flash-kernel 3.110 flash-kernel/rules/DEFAULT_CMDLINE. := quiet |
| 9 |
endif |
| 10 |
|
| 11 |
override_dh_auto_installscip-debian debian flash-kernel 3.110 flash-kernel/rules/override_dh_auto_install().: |
| 12 |
for i in $(AUTOGEN_DEB_FILESscip-debian debian flash-kernel 3.110 flash-kernel/rules/AUTOGEN_DEB_FILES.); do \ |
| 13 |
sed "s/@DEFAULT_CMDLINE@/$(DEFAULT_CMDLINEscip-debian debian flash-kernel 3.110 flash-kernel/rules/DEFAULT_CMDLINE.)/" \ |
| 14 |
< debian/$$i.in > debian/$$i; \ |
| 15 |
done |
| 16 |
|
| 17 |
install -m0755 -p -d debian/flash-kernel/etc/flash-kernel/bootscript |
| 18 |
set -ex ; for arch in all $(DEB_HOST_ARCHscip-debian debian flash-kernel 3.110 flash-kernel/rules/DEB_HOST_ARCH.) ; do \ |
| 19 |
[ -d bootscript/$${arch} ] || continue ; \ |
| 20 |
install -m0644 bootscript/$${arch}/bootscr.* \ |
| 21 |
debian/flash-kernel/etc/flash-kernel/bootscript/ ; \ |
| 22 |
done |
| 23 |
ifeq (armhf,$(DEB_HOST_ARCHscip-debian debian flash-kernel 3.110 flash-kernel/rules/DEB_HOST_ARCH.)) |
| 24 |
install -m0644 bootscript/$(DEB_HOST_ARCH)/olpc.fth \ |
| 25 |
debian/flash-kernel/etc/flash-kernel/bootscript/ |
| 26 |
endif |
| 27 |
|
| 28 |
dh_auto_installscip-debian debian debhelper . dh_auto_install(). |
| 29 |
|
| 30 |
override_dh_auto_cleanscip-debian debian flash-kernel 3.110 flash-kernel/rules/override_dh_auto_clean().: |
| 31 |
for i in $(AUTOGEN_DEB_FILESscip-debian debian flash-kernel 3.110 flash-kernel/rules/AUTOGEN_DEB_FILES.); do \ |
| 32 |
rm -f debian/$$i; \ |
| 33 |
done |
| 34 |
dh_auto_cleanscip-debian debian debhelper . dh_auto_clean(). |
| 35 |
|
| 36 |
override_dh_auto_testscip-debian debian flash-kernel 3.110 flash-kernel/rules/override_dh_auto_test().: |
| 37 |
ifeq (,$(filterscip-debian debian flash-kernel 3.110 flash-kernel/rules/filter. nocheck,$(DEB_BUILD_OPTIONSscip-debian debian flash-kernel 3.110 flash-kernel/rules/DEB_BUILD_OPTIONS.))) |
| 38 |
FK_CHECKOUT=. ./test_db |
| 39 |
FK_CHECKOUT=. ./test_flash-kernel |
| 40 |
FK_CHECKOUT=. ./test_functions |
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
awk '/^$$/ { seen=0 } seen == 0 && /^Machine: / { seen=1; print }' db/all.db | LC_ALL=C sort --check --ignore-case |
| 45 |
endif |
| 46 |
|
| 47 |
%scip-debian debian flash-kernel 3.110 flash-kernel/rules/`%`().: |
| 48 |
dh $@ |