touch draft-riikonen-presence-attrs-00.txt
else
if SILC_DIST_TOOLKIT
-dist-hook:
- -@if test -f ../util/robodoc/Source/robodoc ; then \
+toolkit-ref-html:
+ -@if test -f $(SILC_TOP_SRCDIR)/util/robodoc/Source/robodoc ; then \
echo Generating Toolkit Reference Manual ; \
rm -rf toolkit ; mkdir toolkit ; cd ../scripts/silcdoc ; \
- ./silcdoc HTML ../../lib/ ../../doc/toolkit \
- ../../util/robodoc/Source/robodoc ; \
+ ./silcdoc HTML ../../lib/ $(SILC_TOP_SRCDIR)/doc/toolkit \
+ $(SILC_TOP_SRCDIR)/util/robodoc/Source/robodoc ; \
+ else \
+ echo ROBODoc is not compiled! Cannot generate documentation! ; \
+ fi
+
+toolkit-ref-ps:
+ -@if test -f $(SILC_TOP_SRCDIR)/util/robodoc/Source/robodoc ; then \
+ echo Generating Toolkit Reference Manual ; \
+ cd ../scripts/silcdoc ; \
+ ./silcdoc PS ../../lib/ $(SILC_TOP_SRCDIR)/doc/toolkit.ps \
+ $(SILC_TOP_SRCDIR)/util/robodoc/Source/robodoc ; \
else \
echo ROBODoc is not compiled! Cannot generate documentation! ; \
fi
+
+toolkit-ref-pdf:
+ -ps2pdf $(SILC_TOP_SRCDIR)/doc/toolkit.ps $(SILC_TOP_SRCDIR)/doc/toolkit.pdf
+
+dist-hook: toolkit-ref-html
touch draft-riikonen-silc-spec-05.txt
touch draft-riikonen-silc-pp-05.txt
touch draft-riikonen-silc-ke-auth-05.txt
cd $path
rm -rf /tmp/silcdoc.tex
+ exit 0
fi
#
sh gen.sh $DST gen_index.php 2 $DST/index.html $DST/index.html
# Generate the index toolkit_index.html file
- $ROBO /tmp/silcdoc.html/silcdoc_xref $DST/toolkit_index.html INDEX HTML TITLE "SILC Toolkit Index"
+ $ROBO $DST/silcdoc_xref $DST/toolkit_index.html INDEX HTML TITLE "SILC Toolkit Index"
sh gen.sh $DST gen_index.php 2 $DST/toolkit_index.html $DST/toolkit_index.html
# Cleanup
rm -rf $DST/index.html.tmp
rm -rf /tmp/silcdoc.html
rm -rf /tmp/silcdoc_html.html
+ exit 0
fi