@echo -"Creating tex files..."
@(for F in $(TEXFILES) ;\
do \
- cat $$F | sed -e 's/\\vb{}/\|/g;s/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g;s/\\LTXtable{.*}{\(.*\)}/\\include{\1}/g' > $(WWWDIR)/$$F ;\
+ cat $$F | sed -f ../pattern-to-handle > $(WWWDIR)/$$F ; \
done)
@ln -sf $(MAKEFORWEB) $(WWWDIR)/Makefile
@(for F in $(WEBFILESTOLINK);\
@echo -"Creating tex files..."
@(for F in $(TEXFILES) ;\
do \
- cat $$F | sed -e 's/\\vb{}/\|/g;s/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g;s/\\LTXtable{.*}{\(.*\)}/\\include{\1}/g' > $(WWWDIR)/$$F ;\
+ cat $$F | sed -f ../pattern-to-handle > $(WWWDIR)/$$F ; \
done)
@ln -sf $(MAKEFORWEB) $(WWWDIR)/Makefile
@(for F in $(WEBFILESTOLINK);\
@echo -"Creating tex files..."
@(for F in $(TEXFILES) ;\
do \
- cat $$F | sed -e 's/\\vb{}/\|/g;s/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g;s/\\LTXtable{.*}{\(.*\)}/\\include{\1}/g' > $(WWWDIR)/$$F ;\
+ cat $$F | sed -f ../pattern-to-handle > $(WWWDIR)/$$F ; \
done)
@ln -sf $(MAKEFORWEB) $(WWWDIR)/Makefile
@(for F in $(WEBFILESTOLINK);\
@echo -"Creating tex files..."
@(for F in $(TEXFILES) ;\
do \
- cat $$F | sed -e 's/\\vb{}/\|/g;s/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g;s/\\LTXtable{.*}{\(.*\)}/\\include{\1}/g' > $(WWWDIR)/$$F ;\
+ cat $$F | sed -f ../pattern-to-handle > $(WWWDIR)/$$F ; \
done)
@ln -sf $(MAKEFORWEB) $(WWWDIR)/Makefile
@(for F in $(WEBFILESTOLINK);\
--- /dev/null
+s/\\bsysxrlink{\(.*\)}{\(.*\)}{\(.*\)}{\([^}]*\)}/__XRANCHOR_\1_\2_\3_\4__/g;
+s/\\vb{}/\|/g;
+s/lstlisting/verbatim/g;
+s/lstinline/verb/g;
+s/\\lstset.*//g;
+s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;
+s/\\input{head.*//g;
+s/bsysmanual/book/g;
+s/bsysitemize/itemize/g;
+s/\\listoffigures//g;
+s/\\listoftables//g;
+s/\\LTXtable{.*}{\(.*\)}/\\include{\1}/g;
+s/\\miscman{}/\\mbacula{} Misc Manual/g;
+s/\\consoleman{}/\\mbacula{} Console Manual/g;
+s/\\mainman{}/\\mbacula{} Main Manual/g;
+s/\\devman{}/\\mbacula{} Developers Manual/g;
+s/\\utilityman{}/\\mbacula{} Utility programs/g;
+s/\\problemsman{}/\\mbacula{} Problem Resolution Guide/g;
+s/\\mbacula{}/Bacula Enterprise/g;
\ No newline at end of file
@echo -"Creating tex files..."
@(for F in $(TEXFILES) ;\
do \
- cat $$F | sed -e 's/\\vb{}/\|/g;s/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g;s/\\LTXtable{.*}{\(.*\)}/\\include{\1}/g' > $(WWWDIR)/$$F ;\
+ cat $$F | sed -f ../pattern-to-handle > $(WWWDIR)/$$F ; \
done)
@ln -sf $(MAKEFORWEB) $(WWWDIR)/Makefile
@(for F in $(WEBFILESTOLINK);\
@echo -"Creating tex files..."
@(for F in $(TEXFILES) ;\
do \
- cat $$F | sed -e 's/\\vb{}/\|/g;s/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g;s/\\LTXtable{.*}{\(.*\)}/\\include{\1}/g' > $(WWWDIR)/$$F ;\
+ cat $$F | sed -f ../pattern-to-handle > $(WWWDIR)/$$F ; \
done)
@ln -sf $(MAKEFORWEB) $(WWWDIR)/Makefile
@(for F in $(WEBFILESTOLINK);\