blob: 1911137bfb06b9e879a05a73a6190c697b7ee35f (
plain) (
blame)
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
|
--- Makefile.in.orig Sun Mar 6 01:23:40 2005
+++ Makefile.in Sat May 21 18:45:15 2005
@@ -20,17 +20,29 @@
SHELL = /bin/sh
compile:
+ for F in psgml.el psgml.texi; do \
+ sed -e "s,@[p]refix@,${prefix}," < $$F > $$F.tmp; \
+ mv $$F.tmp $$F; \
+ done
$(EMACS) $(FLAGS) -f psgml-compile-files
-all:
- rm -f *.elc ; $(EMACS) $(FLAGS) -f psgml-compile-files
+info:
+ for p in psgml psgml-api; do \
+ $(EMACS) -batch -q -no-site-file -l texinfmt \
+ -f batch-texinfo-format $$p.texi; \
+ done
+all:
+ rm -f *.elc
+ ${MAKE} compile
+ ${MAKE} info
-install: compile
+install:
$(SHELL) mkinstalldirs $(lispdir)
for p in *.elc; do \
echo " $(INSTALL_DATA) $$p $(lispdir)/$$p"; \
$(INSTALL_DATA) $$p $(lispdir)/$$p; \
+ $(INSTALL_DATA) `echo $$p | sed 's/elc$$/el/'` $(lispdir)/`echo $$p | sed 's/elc$$/el/'` ; \
done
$(INSTALL_DATA) iso88591.map $(lispdir)
@@ -39,8 +51,8 @@
$(INSTALL_DATA) psgml-api.info $(infodir)
if $(SHELL) -c 'install-info --version' \
>/dev/null 2>&1; then \
- install-info --info-dir=$(infodir) psgml.info; \
- install-info --info-dir=$(infodir) psgml-api.info; \
+ install-info $(infodir)/psgml.info $(infodir)/dir; \
+ install-info $(infodir)/psgml-api.info $(infodir)/dir; \
else true; fi
|