# invoked with the package root as the current directory.
sourcepackage := liblopsub
-package := liblopsub1
+package := liblopsub1t64
devpackage := liblopsub-dev
define checkdir
mv $(TMPDIR)/usr/lib-$(TRIPLET) $(TMPDIR)/usr/lib/$(TRIPLET)
dh_install -p $(package)
dh_install -p $(devpackage)
+ dh_lintian
$(MAKE_DIR) $(DESTDIR)/DEBIAN $(DOCS_DIR) $(DEVDOCS_DIR)
echo 'activate-noawait ldconfig' > $(DESTDIR)/DEBIAN/triggers
$(INST_FILE) debian/copyright $(DOCS_DIR)/copyright
$(INST_FILE) debian/copyright $(DEVDOCS_DIR)/copyright
$(INST_FILE) debian/changelog $(DOCS_DIR)/changelog.Debian
$(INST_FILE) debian/changelog $(DEVDOCS_DIR)/changelog.Debian
- gzip -f9 $(DOCS_DIR)/changelog.Debian
- gzip -f9 $(DEVDOCS_DIR)/changelog.Debian
+ gzip -fn9 $(DOCS_DIR)/changelog.Debian
+ gzip -fn9 $(DEVDOCS_DIR)/changelog.Debian
dh_makeshlibs
dh_shlibdeps
dh_strip