Commit 6dc44116 authored by Gérard Huet's avatar Gérard Huet

MMakefile with CGIGRAPH relocated in DICO

parent a3c85e34
......@@ -527,14 +527,15 @@ releasedata: abrevs
cp -R $(DICO) $(SERVERPUBLICDIR) # hypertext Heritage dictionary
# so that cgis invocations in DICO pages are relocated consistently with config:
cd $(SERVERPUBLICDIR) && for i in `ls DICO/*.html`; do (\
sed '1,$$s|!CGIDECL|$(CGIBINURL)$(CGIDECL)|g' < $$i >temp; \
sed '1,$$s|!CGICONJ|$(CGIBINURL)$(CGICONJ)|g' < temp >$$i; \
rm temp ); done
sed '1,$$s|!CGIDECL|$(CGIBINURL)$(CGIDECL)|g' < $$i > temp1; \
sed '1,$$s|!CGICONJ|$(CGIBINURL)$(CGICONJ)|g' < temp1 > temp2; \
sed '1,$$s|!CGIGRAPH|$(CGIBINURL)$(CGIGRAPH)|g' < temp2 > $$i; \
rm temp1 temp2 ); done
# more relocation for MW, waiting for better solution
cd $(SERVERPUBLICDIR) && for i in `ls MW/*.html`; do (\
sed '1,$$s|!CGIDECL|$(CGIBINURL)$(CGIDECL)|g' < $$i >temp; \
sed '1,$$s|!CGICONJ|$(CGIBINURL)$(CGICONJ)|g' < temp >$$i; \
rm temp ); done
sed '1,$$s|!CGIDECL|$(CGIBINURL)$(CGIDECL)|g' < $$i > temp; \
sed '1,$$s|!CGICONJ|$(CGIBINURL)$(CGICONJ)|g' < temp > $$i; \
rm temp); done # NB: no citation in MW
cp $(AUTOMATA) $(SERVERPUBLICDIR)DATA # Sanskrit Engine data
cp $(DATAMW) $(SERVERPUBLICDIR)DATA # MW links
cp $(SCRIPTS) $(SERVERPUBLICDIR)DICO # Javascript in DICO dir
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment