File: rules

package info (click to toggle)
librest 0.6.1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 472 kB
  • ctags: 462
  • sloc: ansic: 4,108; makefile: 135; sh: 2
file content (35 lines) | stat: -rwxr-xr-x 1,047 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk-doc

common-binary-predeb-arch:: list-missing

post-patches:: autoreconf.stamp

autoreconf.stamp:
	gtkdocize --flavour no-tmpl
	autoreconf -v -i -f
	touch autoreconf.stamp

cleanbuilddir::
	rm -f autoreconf.stamp

clean::
	rm -rf docs/reference/rest/html
	rm -f aclocal.m4
	rm -rf autom4te.cache
	rm -f config.h config.h.in 
	rm -f config.log config.status config.sub config.guess
	rm -f configure compile depcomp install-sh ltmain.sh missing stamp-h1
	rm -f mkinstalldirs INSTALL
	rm -f libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 lt~obsolete.m4
	rm -f gtk-doc.m4 gtk-doc.make
	rm -f Makefile.in rest/Makefile.in rest-extras/Makefile.in
	rm -f examples/Makefile.in tests/Makefile.in docs/Makefile.in
	rm -f rest-*.pc intltool-*.in
	rm -f docs/reference/Makefile.in docs/reference/rest/Makefile.in