summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--Makefile6
-rw-r--r--README6
-rw-r--r--src/Info.plist6
-rwxr-xr-xsrc/index.sh4
5 files changed, 13 insertions, 13 deletions
diff --git a/.gitignore b/.gitignore
index 9941ba2..8f114b9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
-/GNU_Make.docset
-/GNU_Make.tgz
+/GNU_Libtool.docset
+/GNU_Libtool.tgz
/tmp
diff --git a/Makefile b/Makefile
index ac6a91b..2f78d92 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-DOCSET_NAME = GNU_Automake
+DOCSET_NAME = GNU_Libtool
DOCSET_DIR = $(DOCSET_NAME).docset
CONTENTS_DIR = $(DOCSET_DIR)/Contents
@@ -10,8 +10,8 @@ INDEX_FILE = $(RESOURCES_DIR)/docSet.dsidx
ICON_FILE = $(DOCSET_DIR)/icon.png
ARCHIVE_FILE = $(DOCSET_NAME).tgz
-MANUAL_URL = https://www.gnu.org/software/automake/manual/automake.html_node.tar.gz
-MANUAL_FILE = tmp/automake.html_node.tar.gz
+MANUAL_URL = https://www.gnu.org/software/libtool/manual/libtool.html_node.tar.gz
+MANUAL_FILE = tmp/libtool.html_node.tar.gz
DOCSET = $(INFO_PLIST_FILE) $(INDEX_FILE) $(ICON_FILE)
diff --git a/README b/README
index ff57476..0bcd4cb 100644
--- a/README
+++ b/README
@@ -1,9 +1,9 @@
-Here is a script and a Makefile for generating a GNU Automake docset for Dash. The script is loosely based on benzado's script for GNU Make https://github.com/benzado/gnu-make-dash-docset.
+Here is a script and a Makefile for generating a GNU Libtool docset for Dash. The script is loosely based on benzado's script for GNU Make https://github.com/benzado/gnu-make-dash-docset.
-- GNU Automake: https://www.gnu.org/software/automake/
+- GNU Libtool: https://www.gnu.org/software/libtool/
- Dash: https://kapeli.com/dash
-To generate a docset from the latest edition of the GNU Automake Manual, simply
+To generate a docset from the latest edition of the GNU Libtool Manual, simply
execute `make` from the same directory as this README file. The latest edition
will be downloaded from www.gnu.org and packaged appropriately.
diff --git a/src/Info.plist b/src/Info.plist
index f94b2c9..ae6c813 100644
--- a/src/Info.plist
+++ b/src/Info.plist
@@ -3,11 +3,11 @@
<plist version="1.0">
<dict>
<key>CFBundleIdentifier</key>
- <string>gnuautomake</string>
+ <string>gnulibtool</string>
<key>CFBundleName</key>
- <string>GNU Automake</string>
+ <string>GNU Libtool</string>
<key>DocSetPlatformFamily</key>
- <string>automake</string>
+ <string>libtool</string>
<key>isDashDocset</key>
<true/>
</dict>
diff --git a/src/index.sh b/src/index.sh
index f4d898e..5f0842a 100755
--- a/src/index.sh
+++ b/src/index.sh
@@ -6,14 +6,14 @@ shift
get_title() {
FILE="$1"
- PATTERN="<title>.*\(automake\).*</title>"
+ PATTERN="<title>.*\(Libtool\).*</title>"
#Find pattern in file
grep -Eo "$PATTERN" "$FILE" |
#Remove tag
sed 's/<[^>]*>//g' | \
#Remove '(automake)'
- sed 's/(automake)//g' | \
+ sed 's/(Libtool)//g' | \
#Remove trailing space
sed 's/[ ]*$//g' | \
#Replace '&amp' with '&'