File: rules

package info (click to toggle)
foff 0.99.5-8
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,052 kB
  • ctags: 633
  • sloc: python: 9,317; makefile: 16
file content (22 lines) | stat: -rwxr-xr-x 578 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
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_clean:
	rm -fr build
	find -name "*.pyc" -delete

override_dh_auto_install:
	dh_auto_install -- --install-scripts=/usr/share/foff --install-lib=/usr/share/foff

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog.txt

override_dh_fixperms:
	toix $(CURDIR)/debian/foff/usr/share/foff/*.py
	chmod -x $(CURDIR)/debian/foff/usr/share/foff/libglade.py \
		$(CURDIR)/debian/foff/usr/share/foff/pyDes.py \
		$(CURDIR)/debian/foff/usr/share/foff/foff.glade \
		$(CURDIR)/debian/foff/usr/share/foff/foff_logo00.png
	dh_fixperms