How to install info files?
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 10 Sep 2010 16:14:11 +0300
changeset 526 412609662010
parent 524 9b596be4c77b
child 527 0bb22c624d14
How to install info files?
info.rst
--- a/info.rst	Tue Sep 07 15:21:38 2010 +0300
+++ b/info.rst	Fri Sep 10 16:14:11 2010 +0300
@@ -9,3 +9,11 @@
 autobook.info  autobook.info-1  autobook.info-2  autobook.info-3
   $ cp autobook.info* $HOME/usr/share/info
   $ /usr/bin/install-info --info-dir=$HOME/usr/share/info autobook.info
+
+or automated
+
+  # Under Debian you need use 'ginstall-info' instead 'install-info'.
+  for i in `find . -name "*.info" -o -name "*.info-*"`; do
+    cp  $i ~/usr/share/info
+    install-info  $i ~/usr/share/info/dir
+  done