File: rules

package info (click to toggle)
luma 2.3-1.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 4,108 kB
  • ctags: 1,260
  • sloc: python: 17,617; makefile: 19
file content (26 lines) | stat: -rwxr-xr-x 664 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
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/buildcore.mk
include /usr/share/cdbs/1/rules/debhelper.mk

DEB_PHONY_RULES += custom-clean

common-build-arch common-build-indep:: debian/stamp-custom-build
debian/stamp-custom-build:
	$(DEB_MAKE_INVOKE) $(DEB_MAKE_BUILD_TARGET)
	touch debian/stamp-custom-build

clean:: custom-clean
custom-clean::
	find -name \*.pyc | xargs rm -f || true
	rm -f debian/stamp-custom-build
	dh_clean

common-install-arch common-install-indep:: common-install-impl
common-install-impl::
	mkdir -p debian/luma/usr
	./install.py --prefix=debian/luma/usr
	find -name \*.pyc | xargs rm -f || true

binary-install/luma::
	dh_pysupport