From 26e27d00152ab9a53a8eba5f4eecd0ac19bb327c Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Sun, 18 Mar 2018 17:29:12 +0000 Subject: [PATCH] Symbolic link for /usr/share/doc/dnsmasq-base-lua in Debian package. --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index 91435a6..c9e5d87 100755 --- a/debian/rules +++ b/debian/rules @@ -220,6 +220,7 @@ endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) $(DEB_HOST_GNU_TYPE)-strip -R .note -R .comment debian/trees/lua-base/usr/sbin/dnsmasq endif + ln -s $(package) debian/trees/lua-base/usr/share/doc/dnsmasq-base-lua cd debian/trees/lua-base && find . -type f ! -regex '.*DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums dpkg-shlibdeps --warnings=1 debian/trees/lua-base/usr/sbin/dnsmasq dpkg-gencontrol $(PACKAGE_VERSION) -pdnsmasq-base-lua -Pdebian/trees/lua-base