chiark / gitweb /
linda overrides somewhere else
[chiark-tcl.git] / debian / rules
index 485534d..c3e4eee 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                             \