summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-08-02 11:48:27 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-08-02 11:48:27 (EDT)
commitf2b0cd173982911f6ba47f783ca9152ff9811b54 (patch)
tree166d4a1bd84d186f420c6439ef8d7fd76328b1c7
parent6997a76599d4aa338e9633db8f7cafc05083df63 (diff)
Update man pages and build system.
* Add section 3 manual pages to build system. * Update build system macros in manual pages. * Add package description substitution variable to build system.
-rwxr-xr-xconfigure2
-rw-r--r--man/Makefile.in11
-rw-r--r--man/oh_changelog_parse.3.in3
-rw-r--r--man/oh_error.3.in3
-rw-r--r--man/oh_help.3.in3
-rw-r--r--man/oh_info.3.in3
-rw-r--r--man/oh_usage.3.in3
-rw-r--r--man/oh_version.3.in3
-rw-r--r--man/oh_warn.3.in3
9 files changed, 25 insertions, 9 deletions
diff --git a/configure b/configure
index ea0e98c..b960b09 100755
--- a/configure
+++ b/configure
@@ -21,6 +21,7 @@
package_name='opkhelper'
package_version='2.0.0'
+package_description='opkg Build Helper Tools'
srcdir=$(dirname "${0}")
srcdir=$(cd ${srcdir} && pwd)
@@ -52,6 +53,7 @@ features="${dep_cmds}"
subst_vars="package_name
package_version
+package_description
${long_opts_with_args}
${dep_cmds}"
diff --git a/man/Makefile.in b/man/Makefile.in
index c44c67e..25a3882 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -19,6 +19,7 @@
package_name = @package_name@
package_version= @package_version@
+package_description = @package_description@
srcdir = @srcdir@
prefix = @prefix@
@@ -28,14 +29,20 @@ mandir = @mandir@
sh = @sh@
sed_script = s&@@PACKAGE_NAME@@&$(package_name)&;\
- s&@@PACKAGE_VERSION@@&$(package_version)&;
+ s&@@PACKAGE_VERSION@@&$(package_version)&;\
+ s&@@PACKAGE_DESCRIPTION@@&$(package_description)&;
INSTALL = @install@
.SUFFIXES:
.SUFFIXES: .in
-SRCS = opkhelper.7.in
+SRCS = opkhelper.7.in \
+ oh_error.3.in \
+ oh_warn.3.in \
+ oh_info.3.in \
+ oh_locale_set.3.in \
+ oh_changelog_parse.3.in
OBJS = $(SRCS:.in=)
distdir = ../$(package_name)-$(package_version)/lib
diff --git a/man/oh_changelog_parse.3.in b/man/oh_changelog_parse.3.in
index 38a15f2..8c9f5fd 100644
--- a/man/oh_changelog_parse.3.in
+++ b/man/oh_changelog_parse.3.in
@@ -1,4 +1,5 @@
-.TH oh_changelog_parse 3 "@@DATE@@" "@@PACKAGE@@-@@VERSION@@" "@@DESCRIPTION@@"
+.TH oh_changelog_parse 3 \
+"@@DATE@@" "@@PACKAGE_NAME@@-@@PACKAGE_VERSION@@" "@@PACKAGE_DESCRIPTION@@"
.SH NAME
oh_changelog_parse - parse a changelog file
diff --git a/man/oh_error.3.in b/man/oh_error.3.in
index 86ec260..17f5324 100644
--- a/man/oh_error.3.in
+++ b/man/oh_error.3.in
@@ -1,4 +1,5 @@
-.TH oh_error 3 "@@DATE@@" "@@PACKAGE@@-@@VERSION@@" "@@DESCRIPTION@@"
+.TH oh_error 3 \
+"@@DATE@@" "@@PACKAGE_NAME@@-@@PACKAGE_VERSION@@" "@@PACKAGE_DESCRIPTION@@"
.SH NAME
oh_error - print an error message and exit
diff --git a/man/oh_help.3.in b/man/oh_help.3.in
index e03ba98..ea6b297 100644
--- a/man/oh_help.3.in
+++ b/man/oh_help.3.in
@@ -1,4 +1,5 @@
-.TH oh_help 3 "@@DATE@@" "@@PACKAGE@@-@@VERSION@@" "@@DESCRIPTION@@"
+.TH oh_help 3 \
+"@@DATE@@" "@@PACKAGE_NAME@@-@@PACKAGE_VERSION@@" "@@PACKAGE_DESCRIPTION@@"
.SH NAME
oh_help - print the application help string
diff --git a/man/oh_info.3.in b/man/oh_info.3.in
index 7bd2a5b..b24c1a2 100644
--- a/man/oh_info.3.in
+++ b/man/oh_info.3.in
@@ -1,4 +1,5 @@
-.TH oh_info 3 "@@DATE@@" "@@PACKAGE@@-@@VERSION@@" "@@DESCRIPTION@@"
+.TH oh_info 3 \
+"@@DATE@@" "@@PACKAGE_NAME@@-@@PACKAGE_VERSION@@" "@@PACKAGE_DESCRIPTION@@"
.SH NAME
oh_info - print an informational message
diff --git a/man/oh_usage.3.in b/man/oh_usage.3.in
index 7518204..b6557ce 100644
--- a/man/oh_usage.3.in
+++ b/man/oh_usage.3.in
@@ -1,4 +1,5 @@
-.TH oh_usage 3 "@@DATE@@" "@@PACKAGE@@-@@VERSION@@" "@@DESCRIPTION@@"
+.TH oh_usage 3 \
+"@@DATE@@" "@@PACKAGE_NAME@@-@@PACKAGE_VERSION@@" "@@PACKAGE_DESCRIPTION@@"
.SH NAME
oh_usage - print the application usage string
diff --git a/man/oh_version.3.in b/man/oh_version.3.in
index cf07db5..1572a7f 100644
--- a/man/oh_version.3.in
+++ b/man/oh_version.3.in
@@ -1,4 +1,5 @@
-.TH oh_version 3 "@@DATE@@" "@@PACKAGE@@-@@VERSION@@" "@@DESCRIPTION@@"
+.TH oh_version 3 \
+"@@DATE@@" "@@PACKAGE_NAME@@-@@PACKAGE_VERSION@@" "@@PACKAGE_DESCRIPTION@@"
.SH NAME
oh_version - print the application version string
diff --git a/man/oh_warn.3.in b/man/oh_warn.3.in
index ec0f9c6..e0376df 100644
--- a/man/oh_warn.3.in
+++ b/man/oh_warn.3.in
@@ -1,4 +1,5 @@
-.TH oh_warn 3 "@@DATE@@" "@@PACKAGE@@-@@VERSION@@" "@@DESCRIPTION@@"
+.TH oh_warn 3 \
+"@@DATE@@" "@@PACKAGE_NAME@@-@@PACKAGE_VERSION@@" "@@PACKAGE_DESCRIPTION@@"
.SH NAME
oh_warn - print a warning message