scsh-0.6/doc/scsh-manual/Makefile

45 lines
858 B
Makefile
Raw Normal View History

2002-04-21 13:32:03 -04:00
.SUFFIXES: .idx .ind .tex .dvi .ps .pdf $(.SUFFIXES)
2001-07-13 02:59:22 -04:00
TEX= front.tex intro.tex procnotation.tex syscalls.tex network.tex \
2002-02-22 05:32:36 -05:00
strings.tex awk.tex miscprocs.tex running.tex
2001-07-13 02:59:22 -04:00
man.dvi: $(TEX) man.ind
man.ind: man.idx
2001-10-10 06:46:46 -04:00
2001-07-13 02:59:22 -04:00
.dvi.ps:
dvips -o $@ $<
.tex.dvi:
latex $<
rm $*.log
2002-04-21 13:32:03 -04:00
.tex.pdf:
pdflatex $<
rm $*.log
2001-07-13 02:59:22 -04:00
.idx.ind:
makeindex $<
clean:
-rm *.log
2001-10-10 06:46:46 -04:00
rm -rf html
2001-07-13 02:59:22 -04:00
INSTALL_DATA= install -c -m 644
tar:
tar cf - *.tex sty | gzip > man.tar.gz
2001-10-10 06:46:46 -04:00
html: $(TEX)
tex2page man && tex2page man
2001-07-13 02:59:22 -04:00
install: man.ps
@echo WARNING:
@echo WARNING: this depends on /u/su/scsh/scsh
@echo WARNING: pointing to the current release
@echo WARNING:
$(INSTALL_DATA) cheat.txt /u/su/scsh/scsh/doc/
$(INSTALL_DATA) man.ps /u/su/scsh/scsh/doc/scsh-manual.ps
$(INSTALL_DATA) $(TEX) /u/su/scsh/scsh/doc/scsh-manual/
$(INSTALL_DATA) sty/* /u/su/scsh/scsh/doc/scsh-manual/sty/