chiark / gitweb /
provide adns txt rrs
[chiark-tcl.git] / debian / rules
index 485534d5cd910e80500d125c3e317c13a29fe5b9..323a3f37535646472035b34a94a172f689f0e39b 100755 (executable)
@@ -46,11 +46,14 @@ binary-arch:        checkroot build
        -rm -rf debian/$(docpackage) debian/$(libpackage)
        install -d debian/$(libpackage)/usr/lib
        install -d debian/$(docpackage)/usr/share/doc/$(docpackage)
-       install -d debian/$(libpackage)/usr/share/lintian/overrides
+
+       set -e; for f in lintian linda; do                                   \
+               install -d debian/$(libpackage)/usr/share/$$f/overrides;     \
+               cp debian/$$f-overrides                                      \
+                debian/$(libpackage)/usr/share/$$f/overrides/$(libpackage); \
+               done
 
        cp */*.so debian/$(libpackage)/usr/lib/.
-       cp debian/lintian-overrides \
-               debian/$(libpackage)/usr/share/lintian/overrides/$(libpackage)
 
        set -e; for f in */*.[ch]; do                                   \
                perl debian/extractdoc <$$f                             \
@@ -62,10 +65,10 @@ binary-arch:        checkroot build
        dh_installchangelogs
        dh_strip
 
-       dh_shlibdeps
+       dh_shlibdeps -Xchiark_tcl_adns -Xchiark_tcl_crypto
 
        # be consistent about what we compress:
-       dh_compress -X'*.[ch].txt'
+       dh_compress -X.c.txt -X.h.txt
 
        dh_fixperms
        dh_gencontrol