File: rules

package info (click to toggle)
libchewing 0.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 7,588 kB
  • ctags: 878
  • sloc: sh: 9,738; ansic: 7,644; makefile: 234; python: 49
file content (29 lines) | stat: -rwxr-xr-x 601 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
28
29
#!/usr/bin/make -f
 
include /usr/share/dpatch/dpatch.make

build: build-stamp
build-stamp: patch
	dh build --before configure
	dh_auto_configure -- --datadir=/usr/share/libchewing3
	dh build --after configure
	touch build-stamp

clean: unpatch
	[ ! -f test/Makefile ] || (cd test; $(MAKE) distclean)
	dh clean

install: build install-stamp
install-stamp:
	dh install
	touch install-stamp

# Build architecture-independent files here.
binary-indep: build install
	dh binary-indep

# Build architecture-dependent files here.
binary-arch: build install
	dh binary-arch

binary: binary-indep binary-arch