File: rules

package info (click to toggle)
songwrite 0.12b-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 984 kB
  • ctags: 989
  • sloc: python: 6,321; xml: 850; makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 770 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
# Including this file gets us a simple patch system.  You can just
# drop patches in debian/patches, and they will be automatically
# applied and unapplied.
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/python-distutils.mk


binary-install/songwrite::
	find debian/songwrite/usr/share/ -type f -exec chmod -R a-x {} \;
	mkdir -p debian/songwrite/usr/share/doc/songwrite/
	mv debian/songwrite/usr/share/songwrite/doc/en debian/songwrite/usr/share/doc/songwrite/
	mv debian/songwrite/usr/share/songwrite/doc/fr debian/songwrite/usr/share/doc/songwrite/
	rmdir debian/songwrite/usr/share/songwrite/doc
	find debian/songwrite/usr/share/locale -name "*.po" -exec rm {} \;