diff options
author | Julian Andres Klode <jak@debian.org> | 2017-01-22 19:52:19 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-02-12 18:42:02 +0100 |
commit | f5e9be1da89725f9bf1915bdf86fdc4a77edf917 (patch) | |
tree | 2dc63cb9b17f65aa43d08a69b41f8b68be30a226 /debian/rules | |
parent | c050f4fa30ccda637f3e05edddf750b768c8590d (diff) |
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.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 62d913f0a..d6921eafc 100755 --- a/debian/rules +++ b/debian/rules @@ -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 |