# Builds the commands to implement tha various naming conventions.

# Copyright 2003 Walter Landry

# 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; version 2 dated June, 1991.

# 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, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA

Import('env','libexec_objects','libexec_install')

objects=[env.Shell('indicated-config-file.sh'),
         env.Shell('sort-revisions.sh'),
         env.Shell('valid-id.sh'),
         env.Shell('indicated-revision.sh'),
         env.Shell('valid-archive-location.sh'),
         env.Shell('valid-package-name.sh'),
         env.Shell('parse-package-name.sh'),
         env.Shell('valid-archive-name.sh'),
         env.Shell('valid-patch-level-name.sh'),
         env.Shell('patch-level-lt.sh'),
         env.Shell('valid-config-name.sh')]

libexec_objects+=objects

install_dir=env['libexec_dir'] + '/arch/naming-conventions'

libexec_install+=[env.Link_Install(install_dir,objects)]

helpers=Split('Help.category Help.category_title Help.list')
libexec_install+=env.Install(install_dir,helpers)
