~ubuntu-branches/ubuntu/saucy/mailcrypt/saucy

« back to all changes in this revision

Viewing changes to .pc/debian-changes-3.5.9-4/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Barak A. Pearlmutter
  • Date: 2012-03-29 23:12:12 UTC
  • Revision ID: package-import@ubuntu.com-20120329231212-gh2248fto9cuzar6
Tags: 3.5.9-5
* Acknowledge and merge translation-related NMU.  Thanks Christian Perrier!
* Bump standards version
* Silence lintian tag description-synopsis-starts-with-article
* Single-debian-patch source option (closes: #643211)
* Silence lintian tag maintainer-script-without-set-e

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## This is a -*- makefile -*-
2
 
 
3
 
# What the Emacs binary is called on your system
4
 
EMACS = @EMACS@
5
 
EMACSFLAGS = @EMACSFLAGS@
6
 
 
7
 
# Prefix for constructing installation directory paths
8
 
prefix = @prefix@
9
 
exec_prefix = @exec_prefix@
10
 
 
11
 
# Shared directory for read-only data files
12
 
datadir = $(prefix)/share
13
 
 
14
 
# Where to put the .el and .elc files
15
 
lispdir = $(datadir)/emacs/site-lisp
16
 
 
17
 
# Where to put the Info files
18
 
infodir = @infodir@
19
 
#INFOFILES = mailcrypt.info mailcrypt.info-1 mailcrypt.info-2
20
 
INFOFILES = mailcrypt.info
21
 
 
22
 
# Installation command
23
 
INSTALL = @INSTALL@
24
 
INSTALL_DATA = @INSTALL_DATA@
25
 
INSTALL_INFO = @INSTALL_INFO@
26
 
 
27
 
# Various auxiliary programs
28
 
MAKEINFO=makeinfo
29
 
DVIPS=dvips
30
 
TEXI2DVI=texi2dvi
31
 
TEXI2HTML=texi2html
32
 
TAR=tar
33
 
 
34
 
srcdir = @srcdir@
35
 
VPATH = @srcdir@
36
 
 
37
 
SOURCES = @EXTRA_SRCS@ \
38
 
        mailcrypt.el mc-toplev.el mc-pgp.el mc-remail.el \
39
 
        mc-pgp5.el mc-pgp6.el mc-gpg.el expect.el mc-setversion.el
40
 
 
41
 
OBJECTS = @EXTRA_OBJS@ \
42
 
        mailcrypt.elc mc-toplev.elc mc-pgp.elc mc-remail.elc \
43
 
        mc-pgp5.elc mc-pgp6.elc mc-gpg.elc expect.elc mc-setversion.elc
44
 
 
45
 
GPG_TESTCASES = $(foreach f,CS.s1v CS.s3v E.e1r E.e3 ES.e1r.s1v ES.e1r.s3v \
46
 
                  ES.e3.s1v S.s1v S.s3v CS.s2v CS.s4 E.e2r E.e4 ES.e1r.s2v \
47
 
                  ES.e1r.s4 ES.e4.s1v S.s2v S.s4 SE,tests/gpg-testcases/$(f))
48
 
 
49
 
TESTFILES_GPG = tests/Makefile.in                                             \
50
 
        tests/make_gpg_testcases.py tests/test-gpg.el tests/gpg-keys/Makefile \
51
 
        tests/gpg-keys/fix-trust.py tests/gpg-keys/make-rings.py              \
52
 
        tests/gpg-keys/rings.txt $(GPG_TESTCASES)
53
 
TESTFILES_REMAILER = tests/remailer/Makefile.in tests/remailer/rings.txt \
54
 
        tests/remailer/rlist.txt tests/remailer/test-remailer.el         \
55
 
        tests/remailer/unwind.py
56
 
 
57
 
DISTFILES = $(SOURCES) ANNOUNCE COPYING ChangeLog ChangeLog.1 INSTALL        \
58
 
        LCD-entry Makefile.in NEWS ONEWS README configure configure.in       \
59
 
        install-sh load-path.hack mailcrypt.texi mkinstalldirs texi2html.ext \
60
 
        FSF-timer.el $(INFOFILES) mailcrypt.dvi README.gpg $(TESTFILES_GPG)  \
61
 
        $(TESTFILES_REMAILER)
62
 
 
63
 
SHELL = /bin/sh
64
 
#.PHONY: all clean dist distclean dvi html info install \
65
 
#       installdirs ps uninstall
66
 
.SUFFIXES:
67
 
.SUFFIXES: .elc .el
68
 
 
69
 
.el.elc:
70
 
        $(EMACS) -batch $(EMACSFLAGS) -l $(srcdir)/load-path.hack \
71
 
          -f batch-byte-compile $<
72
 
 
73
 
all: $(OBJECTS)
74
 
 
75
 
check: $(OBJECTS)
76
 
        $(MAKE) -C tests check
77
 
 
78
 
install: all installdirs install-info
79
 
        for f in $(SOURCES); do \
80
 
          $(INSTALL_DATA) $(srcdir)/$$f $(lispdir); \
81
 
        done;
82
 
        for f in $(OBJECTS); do \
83
 
          $(INSTALL_DATA) $$f $(lispdir); \
84
 
        done;
85
 
 
86
 
# Make sure all installation directories actually exist
87
 
# by making them if necessary.
88
 
installdirs: mkinstalldirs
89
 
        $(srcdir)/mkinstalldirs $(lispdir) $(infodir)
90
 
 
91
 
# If your install-info doesn't know how to look inside the .info file for the
92
 
# menu entry to add, try adding
93
 
#   --entry="* Mailcrypt: (mailcrypt).       An Emacs/PGP interface"
94
 
# to the arguments.
95
 
 
96
 
install-info: info
97
 
        cd $(srcdir) && for file in $(INFOFILES); do\
98
 
          $(INSTALL_DATA) $$file $(infodir)/$$file; \
99
 
        done
100
 
        -$(INSTALL_INFO) --info-dir=$(infodir) mailcrypt.info
101
 
 
102
 
uninstall:
103
 
        -cd $(lispdir) && rm -f $(SOURCES) $(OBJECTS)
104
 
        -cd $(infodir) && rm -f $(INFOFILES)
105
 
        $(INSTALL_INFO) --remove --info-dir=$(infodir) mailcrypt.info
106
 
 
107
 
info: $(INFOFILES)
108
 
 
109
 
$(INFOFILES): mailcrypt.texi
110
 
        $(MAKEINFO) $(srcdir)/mailcrypt.texi
111
 
 
112
 
timer.el: FSF-timer.el
113
 
        cp FSF-timer.el timer.el
114
 
 
115
 
dvi: mailcrypt.dvi
116
 
 
117
 
mailcrypt.dvi: mailcrypt.texi
118
 
        $(TEXI2DVI) $(srcdir)/mailcrypt.texi
119
 
 
120
 
ps: mailcrypt.ps
121
 
 
122
 
mailcrypt.ps: mailcrypt.dvi
123
 
        $(DVIPS) -f $(srcdir)/mailcrypt.dvi >$@
124
 
 
125
 
html: mailcrypt_toc.html
126
 
 
127
 
mailcrypt_toc.html: mailcrypt.texi
128
 
        $(TEXI2HTML) -split_chapter $(srcdir)/mailcrypt.texi
129
 
 
130
 
TAGS: $(SOURCES)
131
 
        cd $(srcdir) && etags $(SOURCES)
132
 
 
133
 
clean:
134
 
        rm -f $(OBJECTS)
135
 
        -rm -f *.aux *.cp *.cps *.fn *.ky *.log *.pg *.toc *.tp *.vr
136
 
        -rm -f *.html
137
 
        rm -f TAGS
138
 
 
139
 
distclean: clean
140
 
        -rm -f *~ *.tar.gz
141
 
        -rm -f Makefile config.status config.cache config.log timer.el
142
 
        -rm -f *.info* *.dvi
143
 
 
144
 
${srcdir}/configure: configure.in
145
 
        cd ${srcdir} && autoconf
146
 
 
147
 
Makefile: Makefile.in config.status
148
 
        ./config.status
149
 
 
150
 
config.status: ${srcdir}/configure
151
 
        ./config.status --recheck
152
 
 
153
 
dist: $(DISTFILES)
154
 
        version=`perl -ne 'print $$1 if /defconst mc-version \"(.*)\"/' \
155
 
                 mailcrypt.el`; \
156
 
        distname=mailcrypt-$$version; \
157
 
        rm -rf $$distname; \
158
 
        mkdir $$distname; \
159
 
        mkdir $$distname/tests; mkdir $$distname/tests/gpg-keys; \
160
 
        mkdir $$distname/tests/gpg-testcases; \
161
 
        mkdir $$distname/tests/remailer; \
162
 
        for file in $(DISTFILES); do \
163
 
          ln $$file $$distname/$$file; \
164
 
        done; \
165
 
        $(TAR) -chz -f $$distname.tar.gz $$distname; \
166
 
        rm -rf $$distname