d/rules: use debian/debian-cd.install.

also chmod +x contrib/testingcds in git to simplefy further.

Signed-off-by: Holger Levsen <holger@layer-acht.org>
This commit is contained in:
Holger Levsen 2019-01-14 12:53:36 +01:00
parent 91544c52e4
commit 77bdc50109
4 changed files with 15 additions and 8 deletions

0
contrib/testingcds Normal file → Executable file
View File

3
debian/changelog vendored
View File

@ -48,7 +48,8 @@ debian-cd (3.1.22) UNRELEASED; urgency=medium
- add "Rules-Requires-Root: no" to support building as non-root.
* d/rules:
- use the awesome "dh $@" simplification.
- add debian/debian-cd.docs and use that.
- use debian/debian-cd.docs.
- use debian/debian-cd.install.
* Add lintian override for missing-depends-on-sensible-utils as
sensible-editor is merely mentioned in the README.
* d/copyright: explicitly refer to /usr/share/common-licenses/GPL-2.

12
debian/debian-cd.install vendored Normal file
View File

@ -0,0 +1,12 @@
contrib usr/share/debian-cd/
tools usr/share/debian-cd/
tasks usr/share/debian-cd/
data usr/share/debian-cd/
Makefile usr/share/debian-cd/
README usr/share/debian-cd/
README.devel usr/share/debian-cd/
build.sh usr/share/debian-cd/
build_all.sh usr/share/debian-cd/
update-cd usr/share/debian-cd/
easy-build.sh usr/share/debian-cd/
README.easy-build usr/share/debian-cd/

8
debian/rules vendored
View File

@ -10,9 +10,7 @@ override_dh_auto_clean:
:
override_dh_auto_install:
cp -r contrib tools tasks data Makefile README README.devel build.sh \
build_all.sh update-cd easy-build.sh README.easy-build \
debian/debian-cd/usr/share/debian-cd/
dh_install
cp CONF.sh debian/debian-cd/etc/debian-cd/conf.sh
ln -sf /etc/debian-cd/conf.sh \
debian/debian-cd/usr/share/debian-cd/CONF.sh
@ -20,7 +18,3 @@ override_dh_auto_install:
\( -name 'boot-*' -o -name 'post-boot-*' \) -a \! -name '*.txt' \
-a \! -name '*.calc' -a \! -name boot-x86 -a \! -name boot-kfreebsd \
-a \! -name boot-hurd -a \! -name '*common' | xargs chmod 0755
cd debian/debian-cd/usr/share/debian-cd/contrib && chmod 755 cronjob.* ftp.cron \
generate_firmware_images iso_run jigdo-watcher \
merge-sums mkjigsnap mklist mktorrent \
report_build_error testingcds