diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | README | 6 | ||||
-rw-r--r-- | src/Info.plist | 6 | ||||
-rwxr-xr-x | src/index.rb | 2 |
4 files changed, 10 insertions, 10 deletions
@@ -1,4 +1,4 @@ -DOCSET_NAME = GNU_Make +DOCSET_NAME = GNU_Automake 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 = http://www.gnu.org/software/make/manual/make.html_node.tar.gz -MANUAL_FILE = tmp/make.html_node.tar.gz +MANUAL_URL = https://www.gnu.org/software/automake/manual/automake.html_node.tar.gz +MANUAL_FILE = tmp/automake.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 Make docset for Dash. +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. -- GNU Make: http://www.gnu.org/software/make/ +- GNU Automake: https://www.gnu.org/software/automake/ - Dash: https://kapeli.com/dash -To generate a docset from the latest edition of the GNU Make Manual, simply +To generate a docset from the latest edition of the GNU Automake 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 b95b162..f94b2c9 100644 --- a/src/Info.plist +++ b/src/Info.plist @@ -3,11 +3,11 @@ <plist version="1.0"> <dict> <key>CFBundleIdentifier</key> - <string>gnumake</string> + <string>gnuautomake</string> <key>CFBundleName</key> - <string>GNU Make</string> + <string>GNU Automake</string> <key>DocSetPlatformFamily</key> - <string>make</string> + <string>automake</string> <key>isDashDocset</key> <true/> </dict> diff --git a/src/index.rb b/src/index.rb index c719fcc..a52e04c 100755 --- a/src/index.rb +++ b/src/index.rb @@ -9,7 +9,7 @@ INSERT_SQL = %Q[ INSERT INTO searchIndex(name, type, path) VALUES ('%s','%s','%s'); ] -PATTERN = %r[<title>GNU make: (.+)</title>] +PATTERN = %r[<title>GNU automake: (.+)</title>] def quote(s) s.gsub(/&/, '&').gsub(/'/, "\\'") |