Oliver Grawert c0750e3a3f Import patches-unapplied version 2.407 to ubuntu/xenial-proposed
Imported using git-ubuntu import.

Changelog parent: a8b139028ef285bd7b8d7ad7a0f67d233287d282

New changelog entries:
  [ Colin Watson ]
  * Add a basic build-time syntax check for live-build/auto/*.
  [ Oliver Grawert ]
  * add multiverse to sources.list for snappy kernel builds
2016-04-21 09:33:22 +00:00

19 lines
406 B
Makefile
Executable File

#! /usr/bin/make -f
%:
dh $@
DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
override_dh_auto_test:
dh_auto_test
set -e; for x in live-build/auto/*; do \
sh -n "$$x"; \
done
override_dh_install:
dh_install
find debian/livecd-rootfs -type f -print0 | \
xargs -0r grep -lZ '@DEB_HOST_MULTIARCH@' | \
xargs -0r \
sed -i 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g'