File: rules

package info (click to toggle)
luma 2.0.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,120 kB
  • ctags: 1,038
  • sloc: python: 13,547; makefile: 20
file content (27 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
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f

ifndef _cdbs_bootstrap
_cdbs_scripts_path ?= /usr/lib/cdbs
_cdbs_rules_path ?= /usr/share/cdbs/1/rules
_cdbs_class_path ?= /usr/share/cdbs/1/class
endif

include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
include $(_cdbs_rules_path)/debhelper.mk$(_cdbs_makefile_suffix)

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

common-install-arch common-install-indep:: common-install-impl
common-install-impl::
	mkdir -p debian/luma/usr
	./install.py --prefix=debian/luma/usr