Debian Codegraph @

debian/rules

raw symbols SCIP
1 #! /usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 PACKAGE=semi
7 ELDIR=$(CURDIR)/debian/$(PACKAGE)/usr/share/$(PACKAGE)
8
9 get-orig-source:
10 wget -O upstream.tar.gz https://github.com/wanderlust/semi/tarball/semi-1_14-wl
11 mv -f upstream.tar.gz `LC_ALL=C tar ztvf upstream.tar.gz --utc | perl -ne 'if (/ (\d\d\d\d)-(\d\d)-(\d\d) /) {print "semi_1.14.7~0.$$1$$2$$3.orig.tar.gz\n"; exit}'`
12
13 build-indep: build-indep-stamp
14 build-indep-stamp:
15 dh_testdir
16 makeinfo mime-ui-en.texi
17 makeinfo mime-ui-ja.texi
18 touch $@
19
20 build-arch:
21
22 build: build-indep build-arch
23
24 clean:
25 dh_testdir
26 dh_testroot
27 rm -f *build*-stamp
28 rm -f *.info .\#* debian/.\#*
29
30 dh_clean
31
32 install: build-indep
33 dh_testdir
34 dh_testroot
35 dh_prep
36 dh_installdirs
37
38 cp Makefile SEMI-* *.el $(ELDIR)/
39 rm -f $(ELDIR)/SEMI-naming.ol
40
41 # Do not install obsolete file
42 for f in smime.el; do \
43 if [ -f $(ELDIR)/$$f ]; then rm -f $(ELDIR)/$$f; fi; \
44 done
45
46 binary-indep: install
47 dh_testdir
48 dh_testroot
49 dh_installdocs
50 dh_installemacsen --priority 51
51 dh_installinfo
52 dh_installchangelogs
53 dh_compress
54 dh_fixperms
55 dh_installdeb
56 dh_shlibdeps
57 dh_gencontrol
58 dh_md5sums
59 dh_builddeb
60
61 binary-arch:
62
63 binary: binary-indep binary-arch
64 .PHONY: build-indep build-arch build clean binary-indep binary-arch binary install