summaryrefslogtreecommitdiff
path: root/source/d/autoconf/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/autoconf/doinst.sh')
-rw-r--r--source/d/autoconf/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/d/autoconf/doinst.sh b/source/d/autoconf/doinst.sh
new file mode 100644
index 00000000..4877094e
--- /dev/null
+++ b/source/d/autoconf/doinst.sh
@@ -0,0 +1,13 @@
+# Update the /usr/info/dir info-database, so that we will see the new
+# "autoconf" item in info root structure, if we type "info".
+if [ -x /usr/bin/install-info ] ; then
+ install-info --info-dir=/usr/info /usr/info/autoconf.info.gz 2>/dev/null
+elif fgrep "Autoconf" usr/info/dir 1> /dev/null 2> /dev/null ; then
+ GOOD=yes # It seems to be entered in the /usr/info/dir already
+else # add the info to the dir file directly:
+cat << EOF >> usr/info/dir
+
+Miscellaneous
+* Autoconf: (autoconf). Create source code configuration scripts.
+EOF
+fi