summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2018-03-18 17:29:12 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2018-03-18 17:29:12 +0000
commit26e27d00152ab9a53a8eba5f4eecd0ac19bb327c (patch)
tree8d8842067f903bbba848d993a87e38fec3c43d94 /debian/rules
parent94b6878821b59b32353525e1594efeffd109fa9d (diff)
downloaddnsmasq-26e27d00152ab9a53a8eba5f4eecd0ac19bb327c.tar.gz
Symbolic link for /usr/share/doc/dnsmasq-base-lua in Debian package.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules1
1 files changed, 1 insertions, 0 deletions
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