diff options
author | Nick White <git@njw.me.uk> | 2012-09-12 14:07:05 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2012-09-12 14:07:05 +0100 |
commit | bea67306d73bc7f18e131be2f1377076fd77e28f (patch) | |
tree | 95e811f9067656fb0d80db3cc1974c1b32c48f17 /debian/rules | |
parent | 6d80eca2aba0b58fa5f985fd95b49b1662d29a79 (diff) |
Make lintian clean
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index 09f9f1d..292ee7f 100755 --- a/debian/rules +++ b/debian/rules @@ -15,7 +15,9 @@ binary-arch: build mkdir -p $(DESTDIR)/usr/share/menu cp -f debian/menu $(DESTDIR)/usr/share/menu/$(package) mkdir -p $(DESTDIR)/usr/share/doc/$(package) - cp -f debian/copyright debian/changelog $(DESTDIR)/usr/share/doc/$(package) + cp -f debian/copyright $(DESTDIR)/usr/share/doc/$(package)/ + cp -f debian/changelog $(DESTDIR)/usr/share/doc/$(package)/changelog.Debian + gzip -9 $(DESTDIR)/usr/share/doc/$(package)/changelog.Debian for i in getabook getbnbook getgbook; \ do strip $(DESTDIR)/usr/bin/$$i; done for i in getabook getbnbook getgbook getxbook getxbookgui; \ @@ -23,6 +25,8 @@ binary-arch: build mkdir -p $(DESTDIR)/DEBIAN cp -f debian/postinst debian/postrm $(DESTDIR)/DEBIAN/ chmod 755 $(DESTDIR)/DEBIAN/post* + dpkg-shlibdeps $(DESTDIR)/usr/bin/getabook \ + $(DESTDIR)/usr/bin/getbnbook $(DESTDIR)/usr/bin/getgbook dpkg-gencontrol -P$(DESTDIR) dpkg-deb -b $(DESTDIR) ../ @@ -30,6 +34,6 @@ binary-indep: build clean: make clean - rm -rf debian/$(package) + rm -rf debian/$(package) debian/files debian/substvars .PHONY: build binary binary-arch binary-indep clean |