File: Makefile.in

package info (click to toggle)
psgml 1.1.6-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 868 kB
  • ctags: 827
  • sloc: lisp: 8,100; sh: 392; makefile: 200
file content (145 lines) | stat: -rw-r--r-- 3,391 bytes parent folder | download
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# Makefile.in
#
# Makefile for the GNU Emacs lisp library, PSGML
# Copyright (C) 1996 Karl Eichwalder, GPL
#
# 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 GNU Emacs; see the file COPYING.  If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

PACKAGE = @PACKAGE@
VERSION = @VERSION@

SHELL = /bin/sh
@SET_MAKE@                          # Right now we do not need it.

srcdir = @srcdir@
VPATH = @srcdir@

prefix = @prefix@
datadir = @datadir@
locallisppath = @LISPDIR@
psgmldir = $(locallisppath)/psgml
infodir = @infodir@

EMACS = @EMACS@

MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@

ELSRC =	psgml.el psgml-parse.el psgml-edit.el psgml-dtd.el \
	psgml-info.el psgml-charent.el psgml-api.el \
	psgml-other.el psgml-lucid.el
ELC =	psgml.elc psgml-parse.elc psgml-edit.elc psgml-dtd.elc \
	psgml-info.elc psgml-charent.elc psgml-api.elc
NELC = 	psgml-other.elc
LELC = 	psgml-lucid.elc

ALL_ELC = $(ELC) $(NELC) $(LELC)

OTHERS = README.psgml iso88591.map psgml-maint.el \
ChangeLog
DOC_FILES = psgml-api.info psgml-api.texi psgml.info psgml.texi
AUTOCONF_FILES = Makefile.in aclocal.m4 configure configure.in \
install-sh mkinstalldirs INSTALL

DISTFILES = $(ELSRC) $(OTHERS) $(DOC_FILES) \
$(AUTOCONF_FILES)

EMACSB= $(EMACS) -batch -l psgml-maint.el


all: elc info

help:
	@echo 'Use "make emacs" or "make xemacs"'

.PHONY: elc
elc:
	$(EMACSB) -f psgml-compile-files

TAGS tags: $(ELSRC)
	etags $(ELSRC)

install: elc info installdirs install-info
	for f in $(ELSRC); do \
		$(INSTALL_DATA) $$f $(psgmldir); done
	for f in `$(EMACSB) -f psgml-install-elc`; do \
		$(INSTALL_DATA) $$f $(psgmldir); done

installdirs:
	$(srcdir)/mkinstalldirs $(psgmldir)

install-info: psgml.info psgml-api.info
	$(INSTALL_DATA) psgml.info $(infodir)
	$(INSTALL_DATA) psgml-api.info $(infodir)

xemacs:
	$(MAKE) EMACS=xemacs all
install-xemacs:
	$(MAKE) EMACS=xemacs install

clean:
	$(RM) *~ $(ALL_ELC)
	$(RM) -r $(DISTDIR) $(DISTDIR).tar.gz $(DISTDIR).tar.gz.uu


info: psgml.info psgml-api.info

psgml.info: psgml.texi
	$(MAKEINFO) psgml.texi

psgml-api.info: psgml-api.texi
	$(MAKEINFO) psgml-api.texi

dvi: psgml.dvi psgml-api.dvi

psgml.dvi:
	$(TEXI2DVI) $(srcdir)/psgml.texi

psgml-api.dvi:
	$(TEXI2DVI) $(srcdir)/psgml-api.texi

ps: psgml.ps

psgml.ps: psgml.dvi
	dvips psgml.dvi -o psgml.ps


# Below this point are rules for release management.

DISTDIR = $(PACKAGE)-$(VERSION)

dist: Makefile disttree
	rm -f $(DISTDIR).tar.gz $(DISTDIR).tar.gz.uu
	tar cvf $(DISTDIR).tar $(DISTDIR)
	gzip -9 $(DISTDIR).tar

disttree: $(DISTFILES)
	rm -rf $(DISTDIR) || exit 0
	mkdir $(DISTDIR)
	# cp $(ELFILES) $(DISTDIR)
	cp $(DISTFILES) $(DISTDIR)
	cp Makefile.def $(DISTDIR)/Makefile

# For understanding the following see the autoconf manual.
configure: configure.in aclocal.m4
	cd $(srcdir) && rm -f configure && autoconf

Makefile: Makefile.in config.status
	$(SHELL) ./config.status

config.status: configure
	$(SHELL) ./config.status --recheck

# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

# Makefile.in ends here