b2647ded51
Można testować: make dist_tarball oraz make dist_rpm. git-svn-id: svn://atos.wmid.amu.edu.pl/utt@11 e293616e-ec6a-49c2-aa92-f4a8b91c5d16
37 lines
735 B
Makefile
37 lines
735 B
Makefile
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 *~
|