#! /usr/bin/make -f # Made with the aid of debmake, by Christoph Lameter, # based on the sample debian/rules file for GNU hello by Ian Jackson. # Handmodified by P. Frauenfelder for debhelper support, 5 Sept 1998 d=debian/scalapack-doc # export DH_VERBOSE=1 build: build-arch build-indep build-arch: build-indep: build-stamp build-stamp: dh_testdir touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp dh_clean binary-indep: build dh_testdir dh_testroot dh_prep dh_installdirs install -m 644 pblasqref.ps scalapackqref.ps \ `pwd`/$(d)/usr/share/doc/scalapack-doc install -m 644 html/faq.html \ `pwd`/$(d)/usr/share/doc/scalapack-doc/html install -m 644 html/slug/* \ `pwd`/$(d)/usr/share/doc/scalapack-doc/html/slug install -m 644 debian/scalapack-faq `pwd`/$(d)/usr/share/doc-base/ install -m 644 debian/scalapack-pblasqref \ `pwd`/$(d)/usr/share/doc-base/ install -m 644 debian/scalapack-scalapackqref \ `pwd`/$(d)/usr/share/doc-base/ install -m 644 debian/scalapack-slug `pwd`/$(d)/usr/share/doc-base/ dh_installdocs # rename man pages and fix apropos description # copy and paste from lapack-doc_2.0.1-3.2's rules file (cd man/manl; ls -1 *) | ( \ echo 's=man/manl; d=$(d)/usr/share/man/man3'; \ sed -e 's,\(.*\)\.l$$,sed -f debian/sed $$s/\1.l > $$d/\1.3,' \ ) | sh dh_installman dh_installchangelogs dh_compress dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary-arch: build source diff: @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false binary: binary-indep binary-arch .PHONY: binary binary-arch binary-indep clean build