From 98d036c32b28df9ca4bb75a58d4156f15712db4d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 16 Jul 2013 17:32:28 -0400 Subject: generate-index: New command. --- 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 . + +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=' ...' 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='[ ...]' + # lib/control.sh msg_pro_archman_control_empty_line='empty line' msg_pro_archman_control_bad_nv='badly formatted control field' -- cgit v0.9.1