diff options
author | Louie Shprung <lshprung@scu.edu> | 2022-12-31 13:57:22 -0800 |
---|---|---|
committer | Louie Shprung <lshprung@scu.edu> | 2022-12-31 13:57:22 -0800 |
commit | 7c54a2a3e7fee50832afd10380f9d5e7b69557ec (patch) | |
tree | fe184460bae4f05aa208beeebaa90f36d213e260 | |
parent | ee103902c141cdc3dce565af453b589fd1fc7a82 (diff) |
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | README | 6 | ||||
-rw-r--r-- | src/Info.plist | 6 | ||||
-rwxr-xr-x | src/index.sh | 4 |
5 files changed, 13 insertions, 13 deletions
@@ -1,3 +1,3 @@ -/GNU_Make.docset -/GNU_Make.tgz +/GNU_Libtool.docset +/GNU_Libtool.tgz /tmp @@ -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) @@ -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 '&' with '&' |