File: rules

package info (click to toggle)
sdcv 0.4.2-8
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,380 kB
  • ctags: 379
  • sloc: sh: 3,972; cpp: 2,926; ansic: 833; makefile: 60; sed: 16
file content (33 lines) | stat: -rwxr-xr-x 629 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
30
31
32
33
#!/usr/bin/make -f

#export DH_VERBOSE=1

include /usr/share/quilt/quilt.make

build: build-stamp
build-stamp: $(QUILT_STAMPFN)
	dh build --before configure
	dh_auto_configure -- --with-readline
	$(MAKE) -C po update-gmo
	dh build --after configure --before auto_test
	mkdir -p tmphome/.stardict/dic
	HOME=`pwd`/tmphome/; export HOME; dh_auto_test
	dh build --after auto_test
	touch $@

clean: unpatch
	dh clean
	rm -f po/*.gmo

install: build-stamp
	dh install

binary-arch: install
	dh binary-arch

binary-indep: 
	# Nothing to do

binary: binary-arch binary-indep

.PHONY: build clean binary-indep binary-arch binary install