diff -Nru sfront-0.99/debian/changelog sfront-0.99/debian/changelog --- sfront-0.99/debian/changelog 2014-05-18 16:35:10.000000000 +0000 +++ sfront-0.99/debian/changelog 2017-01-10 17:36:26.000000000 +0000 @@ -1,3 +1,10 @@ +sfront (0.99-2) unstable; urgency=medium + + * Switch to dh. + * Standards-Version: 3.9.8 (no special changes for this). + + -- Santiago Vila Tue, 10 Jan 2017 18:36:26 +0100 + sfront (0.99-1) unstable; urgency=medium * New upstream release. diff -Nru sfront-0.99/debian/control sfront-0.99/debian/control --- sfront-0.99/debian/control 2014-05-18 16:00:00.000000000 +0000 +++ sfront-0.99/debian/control 2017-01-10 16:00:00.000000000 +0000 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Santiago Vila Build-Depends: debhelper (>= 9), bison -Standards-Version: 3.9.5 +Standards-Version: 3.9.8 Homepage: http://www.cs.berkeley.edu/~lazzaro/sa/ Package: sfront diff -Nru sfront-0.99/debian/rules sfront-0.99/debian/rules --- sfront-0.99/debian/rules 2014-05-18 16:00:00.000000000 +0000 +++ sfront-0.99/debian/rules 2017-01-10 16:00:00.000000000 +0000 @@ -1,55 +1,31 @@ #!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# This file is public domain software, originally written by Joey Hess. +%: + dh $@ -CFLAGS := `dpkg-buildflags --get CFLAGS` -Wall -CPPFLAGS := `dpkg-buildflags --get CPPFLAGS` -LDFLAGS := `dpkg-buildflags --get LDFLAGS` -lm - -build: +override_dh_auto_build: cd src/lib && $(MAKE) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ - LINKLIB="$(LDFLAGS)" + LINKLIB="$(LDFLAGS) -lm" cd src && $(MAKE) sfront CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ - LINKLIB="$(LDFLAGS)" - touch build + LINKLIB="$(LDFLAGS) -lm" -clean: +override_dh_auto_clean: rm -f build src/lib/libmaker.o src/lib/libmaker cd src && $(MAKE) cleanall - dh_clean - -binary-indep: build + dh_auto_clean -binary-arch: build - dh_prep - dh_installdirs +override_dh_install: cd src && $(MAKE) install BINDIR=../debian/sfront/usr/bin cp -a lib/* debian/sfront/usr/share/sfront cp -a README.HTML index.html sfman book copyright \ debian/sfront/usr/share/doc/sfront/html - find debian/sfront/usr/bin -type f | xargs chmod 755 - find debian/sfront/usr/share -type f | xargs chmod 644 - find debian/sfront/usr/share -type d | xargs chmod 755 - dh_installchangelogs - dh_installdocs - dh_installexamples -Xrtime/au examples/* find debian/sfront -name "._*" | xargs rm -f - dh_installman debian/sfront.1 - dh_link - dh_strip -# Do not compress files referenced in the HTML manual or in example makefiles. - dh_compress -XASYS -Xpsync.c -X.c -X.saol -X.sasl -X.wav -XFDL - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb -binary: binary-indep binary-arch - -build-arch: build +override_dh_installexamples: + dh_installexamples -Xrtime/au examples/* -build-indep: build +override_dh_installman: + dh_installman debian/sfront.1 -.PHONY: build clean binary-indep binary-arch binary build-arch build-indep +override_dh_compress: +# Do not compress files referenced in the HTML manual or in example makefiles. + dh_compress -XASYS -Xpsync.c -X.c -X.saol -X.sasl -X.wav -XFDL