summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-07-16 17:32:28 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-07-16 17:32:28 (EDT)
commit98d036c32b28df9ca4bb75a58d4156f15712db4d (patch)
tree35519256b7c3d0c4a429ba372b61b2dce5cfb189
parent507ee4bea715bf5acda72a5fad1277f94b6da24e (diff)
generate-index: New command.
-rw-r--r--lib/cmd/generate-index.sh27
-rw-r--r--lib/cmd/local.mk3
-rw-r--r--locale/en_US/pro_archman.sh4
3 files changed, 33 insertions, 1 deletions
diff --git a/lib/cmd/generate-index.sh b/lib/cmd/generate-index.sh
new file mode 100644
index 0000000..88ef95b
--- /dev/null
+++ b/lib/cmd/generate-index.sh
@@ -0,0 +1,27 @@
+# pro-archman
+# lib/cmd/generate-index.sh
+# "generate-index" command
+#
+# Copyright (C) 2013 Patrick "P. J." McDermott
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+use control
+use locale
+use output
+
+cmd_generate_index_main()
+{
+ printf 'Not implemented\n'
+}
diff --git a/lib/cmd/local.mk b/lib/cmd/local.mk
index 6892594..9bf2896 100644
--- a/lib/cmd/local.mk
+++ b/lib/cmd/local.mk
@@ -3,4 +3,5 @@
pkglibcmd_srcs = \
lib/cmd/help.sh \
- lib/cmd/include.sh
+ lib/cmd/include.sh \
+ lib/cmd/generate-index.sh
diff --git a/locale/en_US/pro_archman.sh b/locale/en_US/pro_archman.sh
index e1869e6..0b57e35 100644
--- a/locale/en_US/pro_archman.sh
+++ b/locale/en_US/pro_archman.sh
@@ -27,6 +27,10 @@ msg_pro_archman_cmd_include_summary='include packages described in changes files
msg_pro_archman_cmd_include_usage='<changes> ...'
msg_pro_archman_cmd_include_including='Including %s (%s) into %s...'
+# lib/cmd/generate-index.sh
+msg_pro_archman_cmd_generate_index_summary='generate package indices'
+msg_pro_archman_cmd_generate_index_usage='[<feed> ...]'
+
# lib/control.sh
msg_pro_archman_control_empty_line='empty line'
msg_pro_archman_control_bad_nv='badly formatted control field'