File: rules

package info (click to toggle)
cxxtools 1.4.3.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,524 kB
  • ctags: 1,534
  • sloc: sh: 11,997; cpp: 6,138; ansic: 4,031; makefile: 141
file content (21 lines) | stat: -rwxr-xr-x 836 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
# Sample debian/rules that uses cdbs.  Originaly written by Robert Millan.
# This file is public domain.

# Add here any variable or target overrides you need
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

post-patches::
	if [ ! -e configure ] ; then aclocal && libtoolize && automake -a && autoconf; fi

clean::
	-rm configure aclocal.m4 config.* depcomp install-sh ltmain.sh missing libtool
	-rm Makefile.in src/Makefile.in demo/Makefile.in include/Makefile.in

binary-post-install/libcxxtools3::
	rm debian/libcxxtools3/usr/share/doc/libcxxtools3/README #just some installation notes

binary-post-install/libcxxtools3-dev::
	rm debian/libcxxtools3-dev/usr/share/doc/libcxxtools3-dev/README #just some installation notes