Fix lintian warnings

This commit is contained in:
Andrew McMillan 2008-05-28 20:08:32 +12:00
parent 25d0a53038
commit 6c641ef08a

11
debian/rules vendored
View File

@ -17,6 +17,7 @@ clean:
make clean
rm -f build
-rm -rf $(dt) debian/files* core debian/substvars debian/html
dh_clean
binary-indep: checkroot build
$(checkdir)
@ -36,24 +37,20 @@ binary-indep: checkroot build
cp config/example-administration.yml $(dt)/usr/share/doc/$(package)/examples/administration.yml
cp config/debug-config.php $(dt)/usr/share/doc/$(package)/examples
cp config/other-config.php $(dt)/usr/share/doc/$(package)/examples
find $(dt)/ -name ".gitignore" -exec rm {} \;
dh_installchangelogs
dh_fixperms
# install -m 1777 -d $(dt)/var/lib/$(package)/attachments
dh_installdeb
dpkg-gencontrol -P$(dt)
dh_md5sums
dpkg --build $(dt) ..
binary-arch: checkroot build
$(checkdir)
# There are no architecture-dependent files to be uploaded
# generated by this package. If there were any they would be
# made here.
define checkdir
test -f debian/rules
endef
binary: binary-indep binary-arch
binary: binary-indep
checkroot:
$(checkdir)