-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
89 lines (66 loc) · 2.1 KB
/
Makefile
File metadata and controls
89 lines (66 loc) · 2.1 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Makefile for speechd-el
# Copyright (C) 2012-2021 Milan Zamazal
# Copyright (C) 2003-2010 Brailcom, o.p.s.
# COPYRIGHT NOTICE
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
EMACS = emacs
NAME = speechd-el
VERSION = 2.12
DISTDIR = $(NAME)-$(VERSION)
TARFILE = $(NAME)-$(VERSION).tar
.PHONY: all compile install install-strip uninstall \
clean distclean mostlyclean maintainer-clean TAGS info dvi dist check
all: compile info
compile: braille.elc brltty.elc mmanager.elc speechd.elc speechd-braille.elc \
speechd-brltty.elc speechd-bug.elc speechd-common.elc \
speechd-out.elc speechd-speak.elc speechd-ssip.elc
%.elc: %.el
$(EMACS) --batch -l speechd-compile.el -f speechd-compile --kill
install:
install-strip:
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
uninstall:
mostlyclean:
rm -f *.aux *.cp *.cps *.fn *.ky *.log *.pg *.toc *.tp *.vr *~
clean: mostlyclean
rm -f *.dvi *.elc speechd-el.pdf *.ps
distclean: clean
rm -rf $(DISTDIR) $(TARFILE)* *.orig *.rej TAGS
maintainer-clean: distclean
rm -f *.info* dir
TAGS:
etags *.el
doc: info pdf
info: speechd-el.info dir
%.info: %.texi
makeinfo $<
dir: speechd-el.info
install-info $< dir
info-cs: speechd-el.cs.info
pdf: speechd-el.pdf
%.pdf: %.texi
texi2pdf $<
ps: speechd-el.ps
%.ps: %.texi
texi2ps $<
dist: maintainer-clean info
mkdir $(DISTDIR)
chmod 755 $(DISTDIR)
install -m 644 `find . -maxdepth 1 -type f -name '[a-zA-Z]*'` \
$(DISTDIR)
(cd $(DISTDIR); $(MAKE) distclean)
tar cvf $(TARFILE) $(DISTDIR)
gzip -9 $(TARFILE)
check: