From c713519000645944b83bae8ed80ea482112af48f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 1 Feb 2024 20:28:37 +0000 Subject: [PATCH] Copyright: *don't* ship LICENCE.txt as a separate file in /usr/share It's the same as the copyright file. Signed-off-by: Ian Jackson --- debian/rules | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debian/rules b/debian/rules index e273c4d..09dffca 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,15 @@ #!/usr/bin/make -f +SHELL=/bin/bash + %: dh "$@" override_dh_autoreconf: dh_autoreconf ./autogen.sh + +execute_after_dh_installdocs: + @# This is the same as debian/copyright + @# We make a symlink since it's referred to by the executable + cmp debian/innduct/usr/share/doc/innduct/{copyright,LICENCE.txt} + ln -sf copyright debian/innduct/usr/share/doc/innduct/LICENCE.txt -- 2.30.2