utt/app/doc/Makefile

37 lines
735 B
Makefile
Raw Normal View History

main: utt.info utt.pdf utt.html utt.ps
utt.info: utt.texinfo
makeinfo utt.texinfo
utt.pdf: utt.texinfo
texi2pdf utt.texinfo
rm utt.{aux,cp,fn,ky,log,pg,toc,tp,vr}
utt.html: utt.texinfo
makeinfo --html --no-split utt.texinfo
utt.dvi: utt.texinfo
texi2dvi utt.texinfo
utt.ps: utt.dvi
dvips -o utt.ps utt.dvi
copy:
ifdef UTT_SHARE_DIR
# tworzymy archiwa (wymagane przez programy)
gzip --best utt.info
mv utt.info.gz ${UTT_SHARE_DIR}/info/
# tworzymy archiwa (wymagane przez programy)
#gzip --best utt.man
#mv utt.man.gz ${UTT_SHARE_DIR}/man/man3/utt.gz.1
#pozostale dokumenty
mv utt.{ps,pdf,html} ${UTT_SHARE_DIR}/doc/utt/
endif
clean:
rm -f utt.{aux,cp,dvi,fn,fns,html,info,ky,log,pdf,pg,ps,toc,tp,vr}
rm -f *~