From: Ian Jackson Date: Thu, 1 Feb 2024 20:28:37 +0000 (+0000) Subject: Copyright: *don't* ship LICENCE.txt as a separate file in /usr/share X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=c713519000645944b83bae8ed80ea482112af48f;p=innduct.git 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 --- 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