File: rules

package info (click to toggle)
cbflib 0.9.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 25,708 kB
  • sloc: ansic: 64,308; python: 13,974; sh: 10,376; makefile: 1,113; yacc: 656; f90: 210; cpp: 65; java: 16
file content (21 lines) | stat: -rwxr-xr-x 414 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

%:
	dh $@

override_dh_auto_configure:
	-mv libtool libtool.junk
	test -d config || mkdir config/
	aclocal -I config
	libtoolize --force --copy
	automake --foreign --add-missing --copy
	autoconf
	dh_auto_configure

override_dh_clean:
	[ ! -d libtool.junk ] || mv libtool.junk libtool
	rm -f Makefile.in aclocal.m4 configure
	rm -f examples/Makefile.in src/Makefile.in
	rm -rf config
	dh_clean