5 version=$(shell expr `pwd` : '.*-\([0-9.]*\)')
6 version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*')
10 ./configure --prefix=/usr --with-cint
11 $(MAKE) CXXFLAGS="-O2"
19 -rm -f `find . -name "*~"`
20 -rm -rf debian/tmp `find debian/* -type d ! -name CVS` debian/files* core
21 -rm -f debian/*substvars
31 # When is Automake going to honor FHS?
32 $(MAKE) install prefix=`pwd`/debian/tmp/usr infodir=`pwd`/debian/tmp/usr/share/info mandir=`pwd`/debian/tmp/usr/share/man
33 # Work around dumb lintian error: binary-without-manpage ginaccint.bin
34 (cd `pwd`/debian/tmp/usr/share/man/man1; ln -s ginaccint.1.gz ginaccint.bin.1.gz)
35 # Automake generated Makefile.in do install-info, which is bad for us:
36 -rm -f `pwd`/debian/tmp/usr/share/info/dir*
37 dh_installdocs ChangeLog NEWS README
51 binary: binary-indep binary-arch
53 .PHONY: binary binary-arch binary-indep clean