File: rules

package info (click to toggle)
libmath%2B%2B 0.0.4-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze
  • size: 412 kB
  • ctags: 232
  • sloc: cpp: 1,311; makefile: 63; sh: 17
file content (30 lines) | stat: -rwxr-xr-x 842 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/make -f

include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk

clean::
	rm -f aclocal.m4 config.guess config.h.in config.sub install-sh
	rm -f libtool ltconfig ltmain.sh missing mkinstalldirs stamp-h.in
	rm -f depcomp stamp-h1 configure
	rm -rf autom4te.cache
	find -name Makefile.in | xargs -r rm -f

# Unfortunately, cdbs's version of this doesn't work when aclocal.m4
# is missing.
post-patches:: debian/stamp-my-autotools
debian/stamp-my-autotools:
	libtoolize -c -f
	aclocal-1.7
	autoconf
	autoheader
	automake-1.7 -a -c
	touch debian/stamp-my-autotools

clean::
	rm -f debian/stamp-my-autotools

binary-install/libmath++-doc::
	$(DEB_MAKE_INVOKE) api-doc
	mkdir -p debian/libmath++-doc/usr/share/doc/libmath++-doc
	cp -a doc/user-api debian/libmath++-doc/usr/share/doc/libmath++-doc/html