chiark / gitweb /
linda overrides somewhere else
authorian <ian>
Sun, 2 Apr 2006 13:43:49 +0000 (13:43 +0000)
committerian <ian>
Sun, 2 Apr 2006 13:43:49 +0000 (13:43 +0000)
debian/linda-overrides [new file with mode: 0644]
debian/lintian-overrides
debian/rules

diff --git a/debian/linda-overrides b/debian/linda-overrides
new file mode 100644 (file)
index 0000000..349943e
--- /dev/null
@@ -0,0 +1,3 @@
+# We consist of plugins for Tcl, which seems to mean that `interpreters'
+# and not `libs' is the right section:
+libtcl-chiark-1 binary: section-not-libs 
index 6e6dfce..4e31244 100644 (file)
@@ -14,7 +14,3 @@ libtcl-chiark-1 binary: shlib-with-non-pic-code usr/lib/chiark_tcl_cdb-1.so
 # Our Description ends in `etc.' which makes lintian think it's a
 # sentence.
 libtcl-chiark-1 binary: description-synopsis-might-not-be-phrased-properly
-
-# We consist of plugins for Tcl, which seems to mean that `interpreters'
-# and not `libs' is the right section:
-libtcl-chiark-1 binary: section-not-libs 
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                             \