chiark / gitweb /
Debianization fixes from Colin Watson.
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 1 Jul 2007 13:30:11 +0000 (14:30 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 1 Jul 2007 13:30:11 +0000 (14:30 +0100)
debian/autorules.m4
debian/rules.m4

index ed278a2..68ec4c1 100644 (file)
@@ -51,8 +51,7 @@ pkg-$1: [build]
                debian/$1/usr/share/doc/$1/copyright
        cp debian/changelog \
                debian/$1/usr/share/doc/$1/changelog.Debian
-       gzip -9 debian/$1/usr/share/doc/$1/copyright \
-               debian/$1/usr/share/doc/$1/changelog.Debian
+       gzip -9 debian/$1/usr/share/doc/$1/changelog.Debian
 $2     dpkg-gencontrol -isp -p$1 -Pdebian/$1 -Tdebian/substvars.$1
        chown -R root:root debian/$1
        chmod -R g-ws debian/$1
index 8eacaba..4169807 100644 (file)
@@ -36,7 +36,7 @@ archpkg([disorder], [ m4_dnl
                debian/disorder/etc/disorder/config
        $(INSTALL) -m 644 debian/options.debian \
                debian/disorder/etc/disorder/options
-       $(LIBTOOL) --mode=install $(INSTALL) -m 555 server/disorder.cgi \
+       $(LIBTOOL) --mode=install $(INSTALL) -m 755 server/disorder.cgi \
                $(shell pwd)/debian/disorder/usr/lib/cgi-bin/disorder/disorder
        dpkg-shlibdeps -Tdebian/substvars.disorder \
                debian/disorder/usr/bin/* \
@@ -44,25 +44,26 @@ archpkg([disorder], [       m4_dnl
                debian/disorder/usr/sbin/* \
                debian/disorder/usr/lib/*.so* \
                debian/disorder/usr/lib/disorder/*.so*
-       $(INSTALL) -m 444 debian/htaccess \
+       $(INSTALL) -m 644 debian/htaccess \
                debian/disorder/usr/lib/cgi-bin/disorder/.htaccess
-       $(INSTALL) -m 444 CHANGES README debian/README.Debian \
+       $(INSTALL) -m 644 CHANGES README debian/README.Debian \
                BUGS README.* \
                debian/disorder/usr/share/doc/disorder/.
-       $(INSTALL) -m 444 ChangeLog.d/*--* \
+       $(INSTALL) -m 644 ChangeLog.d/*--* \
                debian/disorder/usr/share/doc/disorder/ChangeLog.d
-       $(INSTALL) -m 444 COPYING debian/disorder/usr/share/doc/disorder/GPL
+       $(INSTALL) -m 644 COPYING debian/disorder/usr/share/doc/disorder/GPL
        gzip -9f debian/disorder/usr/share/doc/disorder/ChangeLog.d/*--* \
                 debian/disorder/usr/share/doc/disorder/CHANGES \
                 debian/disorder/usr/share/doc/disorder/README \
                 debian/disorder/usr/share/doc/disorder/README.* \
                 debian/disorder/usr/share/doc/disorder/BUGS \
-                debian/disorder/usr/share/doc/disorder/GPL
-       $(INSTALL) -m 555 debian/postinst debian/prerm debian/postrm \
+                debian/disorder/usr/share/doc/disorder/GPL \
+                debian/disorder/usr/share/man/man*/*
+       $(INSTALL) -m 755 debian/postinst debian/prerm debian/postrm \
                debian/config \
-               debian/conffiles \
                debian/disorder/DEBIAN/.
-       $(INSTALL) -m 444 debian/templates debian/disorder/DEBIAN/.
+       $(INSTALL) -m 644 debian/conffiles debian/templates \
+               debian/disorder/DEBIAN/.
 ])
 
 binary