Permalink
Browse files

doc: generate an info directory file

  • Loading branch information...
orivej authored and luismbo committed Aug 21, 2012
1 parent d6c6e5f commit fe04097c475bbbebbf52fee5fd814665bc4faaaa
Showing with 13 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −1 doc/Makefile
  3. +5 −0 doc/cffi-manual.texinfo
  4. +5 −0 doc/cffi-sys-spec.texinfo
  5. +1 −0 doc/gendocs.sh
View
@@ -24,3 +24,4 @@ doc/*.vr
doc/*.dvi
doc/*.cps
doc/*.vrs
+doc/dir
View
@@ -35,7 +35,7 @@ spec: cffi-sys-spec.texinfo style.css
clean:
find . \( -name "*.info" -o -name "*.aux" -o -name "*.cp" -o -name "*.fn" -o -name "*.fns" -o -name "*.ky" -o -name "*.log" -o -name "*.pg" -o -name "*.toc" -o -name "*.tp" -o -name "*.vr" -o -name "*.dvi" -o -name "*.cps" -o -name "*.vrs" \) -exec rm {} \;
- rm -rf manual spec
+ rm -rf manual spec dir
upload-docs: manual spec
rsync -av --delete -e ssh manual spec common-lisp.net:/project/cffi/public_html/
View
@@ -143,6 +143,11 @@ software or the use or other dealings in the software.}
@end copying
@c %**end of header
+@dircategory Software development
+@direntry
+* CFFI Manual: (cffi-manual). CFFI Manual.
+@end direntry
+
@titlepage
@title CFFI User Manual
@c @subtitle Version X.X
@@ -37,6 +37,11 @@ dealings in the software.}
@end macro
@c %**end of header
+@dircategory Software development
+@direntry
+* CFFI Sys spec: (cffi-sys-spec). CFFI Sys spec.
+@end direntry
+
@titlepage
@title CFFI-SYS Interface Specification
@c @subtitle Version X.X
View
@@ -151,6 +151,7 @@ echo Generating output formats for $srcfile
cmd="${MAKEINFO} -o $PACKAGE.info $srcfile"
echo "Generating info files... ($cmd)"
eval $cmd
+install-info $PACKAGE.info dir
mkdir -p $outdir/
tar czf $outdir/$PACKAGE.info.tar.gz $PACKAGE.info*
info_tgz_size="`calcsize $outdir/$PACKAGE.info.tar.gz`"

0 comments on commit fe04097

Please sign in to comment.