File: rules

package info (click to toggle)
fookebox 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 852 kB
  • sloc: python: 1,559; sh: 42; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 520 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
%:
	dh $@ --with python2

override_dh_auto_install:
	dh_auto_install -- --install-lib=/usr/share/fookebox
	rm -rf debian/fookebox/usr/share/fookebox/fookebox/i18n

override_dh_install:
	dh_install

	rm debian/fookebox/usr/share/locale/fookebox.pot
	rm debian/fookebox/usr/share/locale/de/LC_MESSAGES/fookebox.po

override_dh_fixperms:
	dh_fixperms

	chmod g+w debian/fookebox/var/cache/fookebox/templates
	chmod g+w debian/fookebox/var/lib/fookebox
	chmod 0640 debian/fookebox/etc/fookebox/config.ini