doc: generate an info directory file
authorOrivej Desh <orivej@gmx.fr>
Tue, 21 Aug 2012 14:19:50 +0000 (18:19 +0400)
committerLuís Oliveira <loliveira@common-lisp.net>
Sun, 4 Nov 2012 13:19:48 +0000 (13:19 +0000)
.gitignore
doc/Makefile
doc/cffi-manual.texinfo
doc/cffi-sys-spec.texinfo
doc/gendocs.sh

index cdc2b2d..880a785 100644 (file)
@@ -24,3 +24,4 @@ doc/*.vr
 doc/*.dvi
 doc/*.cps
 doc/*.vrs
+doc/dir
index cdb0c0d..f34dfe7 100644 (file)
@@ -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/
index 3a33ace..3d0c366 100644 (file)
@@ -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
index 36f56a8..14668d8 100644 (file)
@@ -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
index 34aa9c3..b2bd343 100755 (executable)
@@ -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`"