File: rules

package info (click to toggle)
mhc 1.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,372 kB
  • sloc: ruby: 12,702; lisp: 7,577; makefile: 70; sh: 68
file content (59 lines) | stat: -rwxr-xr-x 1,153 bytes parent folder | download | duplicates (2)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/make -f

#export DH_VERBOSE=1

build-indep: build-indep-stamp
build-indep-stamp:
	dh_testdir
	touch $@

build-arch:

build: build-arch build-indep

clean:
	dh_testdir
	dh_testroot
	rm -f *-stamp
	dh_clean

install-indep:
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs

	cp emacs/*.el debian/mhc/usr/share/mhc
	cp icons/*.xbm debian/mhc/usr/share/pixmaps/mhc/xbm
	cp icons/*.xpm debian/mhc/usr/share/pixmaps/mhc

	cp xpm/*.xpm debian/mhc-utils/usr/share/pixmaps/mhc
	install -m 755 bin/mhc $(CURDIR)/debian/mhc-utils/usr/bin
	cp -dR lib/mhc* $(CURDIR)/debian/mhc-utils/usr/lib/ruby/vendor_ruby

install-arch:

install: install-arch install-indep

binary-indep: build-indep install-indep
	dh_testdir
	dh_testroot
#	dh_installdebconf	
	dh_installdocs
	dh_installexamples
	dh_installemacsen
	dh_installman
#	dh_installinfo
	dh_installchangelogs
	dh_strip
	dh_compress -Xjapanese-holidays.mhcc
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch: build-arch install-arch

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