summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-01-22 19:52:19 +0100
committerJulian Andres Klode <jak@debian.org>2017-02-12 18:42:02 +0100
commitf5e9be1da89725f9bf1915bdf86fdc4a77edf917 (patch)
tree2dc63cb9b17f65aa43d08a69b41f8b68be30a226 /debian
parentc050f4fa30ccda637f3e05edddf750b768c8590d (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')
l---------debian/copyright1
-rwxr-xr-xdebian/rules3
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/copyright b/debian/copyright
deleted file mode 120000
index 012065c85..000000000
--- a/debian/copyright
+++ /dev/null
@@ -1 +0,0 @@
-../COPYING \ No newline at end of file
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