File: rules

package info (click to toggle)
x-face-el 1.3.6.24-18
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 544 kB
  • sloc: lisp: 5,551; makefile: 92; sh: 85
file content (50 lines) | stat: -rwxr-xr-x 890 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
#!/usr/bin/make -f

PACKAGE=x-face-el

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

build-arch:

build: build-indep build-arch

clean:
	dh_testdir
	dh_testroot
	-rm -f *-stamp
	dh_clean

binary-indep: DH_OPTIONS=-i
binary-indep: build-indep
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs

	cp *.el debian/x-face-e21.el debian/$(PACKAGE)/usr/share/$(PACKAGE)/
	cp *.xbm *.xpm debian/$(PACKAGE)/usr/share/pixmaps/$(PACKAGE)/

	dh_installdocs
	dh_installemacsen --priority=70
	dh_installchangelogs ChangeLog.ja
	dh_strip
	dh_compress
	dh_fixperms

	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch: DH_OPTIONS=-a
binary-arch: build-arch

source diff:
	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false

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