[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] paths to viewport in build-improvements
From: |
Gabriel Dos Reis |
Subject: |
Re: [Axiom-developer] paths to viewport in build-improvements |
Date: |
28 Oct 2006 18:20:08 +0200 |
Waldek Hebisch <address@hidden> writes:
[...]
| +The [[.pht]] files contain hardcoded pathnames to viewport directiries
^
s/directiries/directories/
| +in the installed system. Of course, that is asking for trouble. During
| +installation, we must change those paths to reflect the correct
| +location of the viewports. That necessary step is implemented
| +as:
| +\begin{verbatim}
| + for A in `ls *.pht`; do \
| + sed 's,/doc/viewports/,/share/viewports/,g' $$A \
| + > ${HYPER}/pages/$$A; \
| + done
| +\end{verbatim}
| +
| +In the long term, the [[.pht]] and viewports should be generated at either
| +build time or installation time using commands like:
| +\begin{verbatim}
| + rm -f ht.db
| + ${HTADD} *.ht
| + for A in `ls *.ht`; do ${SMAN} -paste $$a ; done
| + rm -f ht.db
| + ${HTADD} *.ht *.pht
| +\end{verbatim}
Great!
Thanks,
-- Gaby
Re: [Axiom-developer] paths to viewport in build-improvements, root, 2006/10/27