scsh-0.6/doc/scsh-manual/Makefile

41 lines
827 B
Makefile
Raw Normal View History

2001-07-13 02:59:22 -04:00
.SUFFIXES: .idx .ind .tex .dvi .ps $(.SUFFIXES)
TEX= front.tex intro.tex procnotation.tex syscalls.tex network.tex \
strings.tex awk.tex miscprocs.tex running.tex todo.tex
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
.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/