...
 
Commits (5)
libtommath (1.1.0-3) unstable; urgency=medium
[ Helmut Grohne ]
* Fix FTCBFS: (Closes: #921699)
+ Let dh_auto_build pass cross tools to make.
+ Honour DEB_BUILD_OPTIONS=nocheck.
[ Dominique Dumont ]
* fix dh_clean call to clean libtool dir.
Thanks to Andreas Beckmann for the report (Closes: 921892)
* update dh_clean list
-- Dominique Dumont <dod@debian.org> Thu, 14 Feb 2019 11:36:43 +0100
libtommath (1.1.0-2) unstable; urgency=medium
* Build a libtool to drop the libtool-bin dependency.
......
......@@ -28,15 +28,20 @@ override_dh_auto_build:
dh_auto_configure --sourcedirectory=debian/libtool
echo "Building libtommath"
$(MAKE) -f makefile.shared LIBTOOL=$(CURDIR)/debian/libtool/libtool
dh_auto_build --buildsystem=makefile -- -f makefile.shared LIBTOOL=$(CURDIR)/debian/libtool/libtool
# move out the built doc shipped in tarball. Using .dod instead of
# .bak because .bak files are cleaned up by dh_clean
for i in $(CURDIR)/doc/*.pdf; do mv $$i $$i.dod; done
echo "Building docs"
$(MAKE) manual docs
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
echo "compiling test programs"
$(MAKE) -f makefile.shared LIBTOOL=$(CURDIR)/debian/libtool/libtool test_standalone
echo "running test"
./test
endif
override_dh_auto_install:
$(MAKE) -f makefile.shared LIBTOOL=$(CURDIR)/debian/libtool/libtool install
......@@ -48,7 +53,9 @@ override_dh_install:
endif
override_dh_clean:
dh_clean tommath.out debian/libtool
dh_clean doc/tommath.out demo/.libs/ demo/demo.lo libtommath.pc debian/libtool/
# move back the built doc shipped in tarball
for i in $(CURDIR)/doc/*.pdf.dod; do if [ -e $$i ] ; then mv $$i $${i%%.dod}; fi; done
override_dh_installchangelogs:
dh_installchangelogs changes.txt
......