mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
e92b32199a
- Regenerate info files from the corresponding .texi files. - Remove an empty file. Submitted by: KIMURA Yasuhiro (committed with modification) PR: ports/80644
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
--- 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
|
|
|
|
|