Документ взят из кэша поисковой машины. Адрес оригинального документа : http://crydee.sai.msu.ru/public/lyrics/cs-uwp/m/misc.indian/isongs/makefile.pc
Дата изменения: Sun Jun 26 14:00:00 1994
Дата индексирования: Mon Dec 24 11:04:56 2007
Кодировка:
# For MS-DOS machines (Borland C++ 2.0 Make)
# Edit this file as required, to point to the files on your system.
# This makefile assumes a Borland C++ 2.0 Make program, you may have to
# edit it extensively for other make's....
#---------------------------------------------------
# Suggested usage:
# Copy this makefile.pc to makefile, edit it as required, and then:
# cd to the directory containing the .s or .itx file, then
# run:
# make -f..\..\makefile 1.ps
# or
# make -f..\makefile bhagvad.ps
# etc....
#---------------------------------------------------

ITRANS=e:\itrans\src\itrans
ISHDR=e:\itrans\songs\isitx.hdr
ISONGCAT=e:\itrans\songs\isongcat.com

#----
# Be sure to set your environment variable ITRANSPATH correctly.
# ITRANSPATH should contain a list of directories where ITRANS can find
# the *.ifm files (dvng_is.ifm, etc)
# My ITRANSPATH is set to:
# ITRANSPATH=.;E:\ITRANS\lib;E:\ITRANS\devnag;E:\ITRANS\isongs
#----
# Another important environemnt variable is TEXINPUTS -- TeX/LaTeX uses
# it to locate all its input files, and in this case, it needs to find
# idevn.tex, so make sure TEXINPUTS contains the name of the directory
# where idevn.tex can be found.
#----

# IPSFILES no longer supported ... June 1994
# IPSFILES= e:\itrans\lib\devnac.ps + e:\itrans\lib\itrans.pro

# -----------------------------------------------------------
# Rules to convert a .s file to .itx to .tex to .dvi to .ps
# Note that the rules delete all the temporary files---
# I directly send the output file to the printer or the screen---
# modify these lines as required, if you need to look at the temp files.

.s.ps:
copy isitx.hdr + $*.s $*.itx
echo \end{{document}} >> $*.itx
$(ITRANS) -i $*.itx -o $*.tex
del $*.itx
-latex $*
del $*.tex
del $*.log
del $*.aux
dviscr /o3 $*
#dvips -t landscape $*
del $*.dvi
#gs $*.ps
#del $*.ps

.itx.ps:
$(ITRANS) -i $*.itx -o $*.tex
-latex $*
del $*.tex
del $*.log
del $*.aux
dviscr /o3 $*
#dvips -t landscape $*
del $*.dvi
#gs $*.ps

.tex.ps:
-latex $*
del $*.log
del $*.aux
dviscr /o3 $*
#dvips -t landscape $*
del $*.dvi
#gs $*.ps

# -----------------------------------------------------------
# Rules to convert a .s file to .ips to .ps
# NOTE: RULES no longer supported (June 1994)

#.s.ips:
# copy $(ISIPSHDR) + $*.s $*.ips
# $(ITRANS) -P -i $*.ips -o tmp.ps
# del $*.ips
# COPY $(IPSFILES) + tmp.ps $*.ps
# @del tmp.ps
# gs $*.ps
# del $*.ps
#
# -----------------------------------------------------------
# Targets

help:
@echo Type "make .ps" to create a .itx file from a song.
@echo The above will also create a .dvi file and .ps file
@echo depending on how you have edited this makefile.
@echo ----------------
# Direct PostScript no longer supported (JUly 1994)
# @echo Type "make .ips" to create a .ips file from a song.
# @echo The above will also create a .ps file for printing,
# @echo depending on how you have edited this makefile.
# @echo NOTE: see isips.hdr on changes that may be necessary to
# @echo print songs in .ips files.

# allsongs file creation --- first run "make allsongs", and then
# run "make h100-199.dvi", etc to create the dvi file containing all the
# songs in a single file - isongcat is used here, so that multiple songs
# can fit on a single page.
# To make allsongs, you must be in the hindi directory, so the command
# is: make -f..\makefile allsongs

allsongs:
$(ISONGCAT) 1 99 > h001-099.s
$(ISONGCAT) 100 199 > h100-199.s
$(ISONGCAT) 200 299 > h200-299.s
$(ISONGCAT) 300 399 > h300-399.s
$(ISONGCAT) 400 499 > h400-499.s
$(ISONGCAT) 500 599 > h500-599.s
$(ISONGCAT) 600 699 > h600-699.s


isongcat.com: isongcat.c
bcc -N -mt -lt $*.c
del $*.obj