File: rules

package info (click to toggle)
moosic 1.5.4-6
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 840 kB
  • ctags: 586
  • sloc: python: 3,360; makefile: 40
file content (21 lines) | stat: -rwxr-xr-x 498 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

override_dh_auto_build:
	mkdir doc/bak
	cd doc && mv moosic.1 moosicd.1 Moosic_API.3 moosic.html moosicd.html Moosic_API.html bak/
	cd doc && make
	dh_auto_build

override_dh_auto_install:
	dh_auto_install
	install -m 644 examples/completion debian/moosic/etc/bash_completion.d/moosic
	rm -f debian/moosic/usr/share/doc/moosic/License.txt
	rm -f debian/moosic/usr/share/doc/moosic/ChangeLog

override_dh_auto_clean:
	-mv doc/bak/* doc/
	-rmdir doc/bak
	dh_auto_clean

%:
	dh $@