File: rules

package info (click to toggle)
tulip 3.7.0dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 39,428 kB
  • sloc: cpp: 231,403; php: 11,023; python: 1,128; sh: 671; yacc: 522; makefile: 315; xml: 63; lex: 55
file content (31 lines) | stat: -rwxr-xr-x 720 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
#!/usr/bin/make -f
# -*- makefile -*-

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_SKIP_RPATH:BOOL=YES -DUBUNTU_PPA_BUILD=ON -DBUILD_DOC=ON

override_dh_auto_build-arch:
	dh_auto_build --parallel
	docbook-to-man debian/tulip.sgml > debian/tulip.1
override_dh_auto_build-indep:
	$(MAKE) -C "$(wildcard obj-*)" doc

override_dh_auto_install-indep:
	dh_auto_install -- -C docs
	mv debian/tmp/usr/share/doc/tulip debian/tmp/usr/share/doc/tulip-doc

override_dh_auto_install-arch:
	dh_auto_install
	install -D debian/tulip.1 debian/tmp/usr/share/man/man1/tulip.1

override_dh_install:
	dh_install --fail-missing

override_dh_auto_clean:
	dh_auto_clean
	rm -f debian/tulip.1
	rm -rf docs/doxygen/xml