2 # Made with the aid of debmake, by Christoph Lameter,
3 # based on the sample debian/rules file for GNU hello by Ian Jackson.
7 version=$(shell expr `pwd` : '.*-\([0-9.]*\)')
8 version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*')
12 ./configure --without-cint --prefix=/usr
13 $(MAKE) CXXFLAGS="-O2"
21 -rm -f `find . -name "*~"`
22 -rm -rf debian/tmp `find debian/* -type d ! -name CVS` debian/files* core
23 -rm -f debian/*substvars
33 # When will Automake honor FHS?
34 $(MAKE) install prefix=`pwd`/debian/tmp/usr infodir=`pwd`/debian/tmp/usr/share/info mandir=`pwd`/debian/tmp/usr/share/man
35 dh_installdocs ChangeLog NEWS README
38 dh_movefiles -pginac-dev -pginac-doc
39 if test -f cint/ginaccint.bin; then dh_movefiles -pginaccint; fi
48 dh_builddeb -pginac -pginac-dev -pginac-doc
49 if test -f cint/ginaccint.bin; then dh_builddeb -pginaccint; fi
51 binary: binary-indep binary-arch
53 .PHONY: binary binary-arch binary-indep clean