Browse Source

debian: Generate debian/copyright during clean

Ubuntu servers / Launchpad rejects uploads where debian/copyright
is a symbolic link, and lintian warns about them. I think that's
crazy, but I'm tired of having to work around this in SRUs, so
let's just solve it by copying the file during clean: This way,
it won't be in git, but it will be generated during the export
by git-buildpackage.
tags/devuan/2.0.1+devuan1
Julian Andres Klode 3 years ago
parent
commit
f5e9be1da8
3 changed files with 5 additions and 1 deletions
  1. +2
    -0
      .gitignore
  2. +0
    -1
      debian/copyright
  3. +3
    -0
      debian/rules

+ 2
- 0
.gitignore View File

@@ -108,6 +108,8 @@ Makefile
/debian/libapt-pkg-dev/
/debian/libapt-pkg-doc/
/debian/apt-transport-https/
# Copyright file copied from COPYING
/debian/copyright

# generated for and by abicheck
/abicheck/apt_build.xml


+ 0
- 1
debian/copyright View File

@@ -1 +0,0 @@
../COPYING

+ 3
- 0
debian/rules View File

@@ -13,6 +13,9 @@ export CTEST_OUTPUT_ON_FAILURE=1
%:
dh $@

override_dh_clean:
cp COPYING debian/copyright

override_dh_install-indep:
dh_install --list-missing



Loading…
Cancel
Save