--- 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