[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / OpenMath / doc

File: [local] / OpenXM / src / OpenMath / doc / Makefile (download)

Revision 1.1, Tue Jan 4 11:40:01 2000 UTC (24 years, 5 months ago) by tam
Branch: MAIN
CVS Tags: maekawa-ipv6, RELEASE_20000124, RELEASE_1_1_3, RELEASE_1_1_2

I added a manual for OMproxy.
	But this isn't clear nor easy to understand.
	Perhaps everybody can understand usage.txt easier than this.
	Sorry!

SRC = man.texi omproxy.texi

JP:
	-rm -rf tmp
	mkdir tmp
	cp jtexinfo.tex texinfo-js.tex tmp/
	for i in ${SRC}; do \
		echo $$i ;\
		awk '/^\\JP/	{sub(/^\\JP[ \t]*/,"");print;next;}	\
		    /^\\BJP/	{getline;while($$0 !~ /^\\E/){	\
					print;getline;	\
					};next;}	\
		    /^\\B../	{getline;while($$0 !~ /^\\E/){	\
					getline;	\
					};next;}	\
		    /^\\../	{next;}	\
		    {print;}' $$i > tmp/$$i;\
	done
	(cd tmp; ptex man.texi; cp man.dvi ../man-jp.dvi)

EG:
	-rm -rf tmp
	mkdir tmp
	cp texinfo.tex tmp/
	for i in ${SRC}; do \
		echo $$i ;\
		awk '/^\\EG/	{sub(/^\\EG[ \t]*/,"");print;next;}	\
		    /^\\BEG/	{getline;while($$0 !~ /^\\E/){	\
					print;getline;	\
					};next;}	\
		    /^\\B../	{getline;while($$0 !~ /^\\E/){	\
					getline;	\
					};next;}	\
		    /^\\../	{next;}	\
		    {print;}' $$i > tmp/$$i;\
	done
	(cd tmp; tex man.texi; cp man.dvi ../man-eg.dvi)