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..6080897 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
-/GNU_Make.docset
-/GNU_Make.tgz
+/GNU_Coding_Standards.docset
+/GNU_Coding_Standards.tgz
/tmp
diff --git a/Makefile b/Makefile
index ac6a91b..5c3be74 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-DOCSET_NAME = GNU_Automake
+DOCSET_NAME = GNU_Coding_Standards
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/prep/standards/standards.html_node.tar.gz
+MANUAL_FILE = tmp/standards.html_node.tar.gz
DOCSET = $(INFO_PLIST_FILE) $(INDEX_FILE) $(ICON_FILE)
diff --git a/README b/README
index ff57476..e2d9414 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 Coding Standards 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 Coding Standards: https://savannah.gnu.org/projects/gnustandards
- 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 Coding Standards, 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..36517aa 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>gnucodingstandards</string>
<key>CFBundleName</key>
- <string>GNU Automake</string>
+ <string>GNU Coding Standards</string>
<key>DocSetPlatformFamily</key>
- <string>automake</string>
+ <string>gnustandards</string>
<key>isDashDocset</key>
<true/>
</dict>
diff --git a/src/index.sh b/src/index.sh
index f4d898e..75f20a5 100755
--- a/src/index.sh
+++ b/src/index.sh
@@ -6,14 +6,14 @@ shift
get_title() {
FILE="$1"
- PATTERN="<title>.*\(automake\).*</title>"
+ PATTERN="<title>.*\(GNU Coding Standards\).*</title>"
#Find pattern in file
grep -Eo "$PATTERN" "$FILE" |
#Remove tag
sed 's/<[^>]*>//g' | \
#Remove '(automake)'
- sed 's/(automake)//g' | \
+ sed 's/(GNU Coding Standards)//g' | \
#Remove trailing space
sed 's/[ ]*$//g' | \
#Replace '&amp' with '&'