/[GiNaC]/debian/rules
ViewVC logotype

Contents of /debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations)
Sat Apr 28 18:02:16 2001 UTC (12 years ago) by kreckel
Branch: MAIN
CVS Tags: release_0-8-3
Changes since 1.6: +2 -0 lines
* Just for the record: this is what has been used for building.

1 #!/usr/bin/make -f
2
3 package=ginac
4
5 version=$(shell expr `pwd` : '.*-\([0-9.]*\)')
6 version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*')
7
8 build:
9 dh_testdir
10 ./configure --prefix=/usr --with-cint
11 $(MAKE) CXXFLAGS="-O2"
12 touch build
13
14 clean:
15 dh_testdir
16 dh_clean
17 -rm -f build
18 -$(MAKE) distclean
19 -rm -f `find . -name "*~"`
20 -rm -rf debian/tmp `find debian/* -type d ! -name CVS` debian/files* core
21 -rm -f debian/*substvars
22
23 binary-indep: build
24 dh_testdir
25 dh_testroot
26
27 binary-arch: build
28 dh_testdir
29 dh_testroot
30 dh_installdirs
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
38 dh_installchangelogs
39 dh_installmenu
40 dh_movefiles
41 dh_strip
42 dh_compress
43 dh_fixperms
44 dh_shlibdeps
45 dh_gencontrol
46 dh_makeshlibs
47 dh_installdeb
48 dh_md5sums
49 dh_builddeb
50
51 binary: binary-indep binary-arch
52
53 .PHONY: binary binary-arch binary-indep clean

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.15