summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@scu.edu>2022-11-21 17:05:43 -0800
committerLouie Shprung <lshprung@scu.edu>2022-11-21 17:05:43 -0800
commite0110a2b0ba0a0a13e78bc9e453110f16d40087b (patch)
tree11aafcedd7b1ae63b5d9cb2c529d0a73b2962661
parent1433e5580757ef140bc64bcc5a904fd0ab9401ed (diff)
Replaced all instances of 'GNU Automake' with 'GNU Autoconf'
-rw-r--r--Makefile6
-rw-r--r--README6
-rw-r--r--src/Info.plist6
-rwxr-xr-xsrc/index.rb4
4 files changed, 11 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 8812bbe..6897fc4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-DOCSET_NAME = GNU_Automake
+DOCSET_NAME = GNU_Autoconf
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/savannah-checkouts/gnu/autoconf/manual/autoconf-2.71/autoconf.html_node.tar.gz
+MANUAL_FILE = tmp/autoconf.html_node.tar.gz
DOCSET = $(INFO_PLIST_FILE) $(INDEX_FILE) $(ICON_FILE)
diff --git a/README b/README
index b1e6da0..46710fc 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 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 Autoconf docset for Dash. The script is 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 Autoconf: https://www.gnu.org/software/autoconf/
- 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 Autoconf 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..2850204 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>gnuautoconf</string>
<key>CFBundleName</key>
- <string>GNU Automake</string>
+ <string>GNU Autoconf</string>
<key>DocSetPlatformFamily</key>
- <string>automake</string>
+ <string>autoconf</string>
<key>isDashDocset</key>
<true/>
</dict>
diff --git a/src/index.rb b/src/index.rb
index 9c66c81..3dc8468 100755
--- a/src/index.rb
+++ b/src/index.rb
@@ -9,10 +9,10 @@ INSERT_SQL = %Q[
INSERT INTO searchIndex(name, type, path) VALUES ('%s','%s','%s');
]
-PATTERN = %r[<title>(.*)\(automake\)(.*)</title>]
+PATTERN = %r[<title>(.*)\(Autoconf\)(.*)</title>]
def quote(s)
- s.gsub(/&amp;/, '&').gsub(/'/, "\\'")
+ s.gsub(/&amp;/, '&').gsub(/'/, "\\'").gsub(/&lt;/, '<')
end
ARGV.each do |arg|