Permalink
Browse files

removed install_variables and install_plugin

  • Loading branch information...
1 parent 50c81a5 commit 709e3c134c45ab62fea60f8594332c9e6edef21e @ssinyagin committed Sep 19, 2011
Showing with 1 addition and 82 deletions.
  1. +0 −1 .gitignore
  2. +0 −6 Makefile.am
  3. +1 −3 bin/gerty.in
  4. +0 −20 configure.ac
  5. +0 −52 lib/Gerty/Runcmd/install_plugin.pm
View
@@ -10,5 +10,4 @@ config.status
configure
configure.lineno
gerty-*.tar.gz
-setup_tools/install_variables
setup_tools/substvars.sh
View
@@ -24,12 +24,6 @@ EXTRA_DIST = \
noinst_SCRIPTS = \
setup_tools/substvars.sh
-DISTCLEANFILES = $(VARSAVE)
-
-instvarsdir = $(plugindir)
-nodist_instvars_DATA = $(VARSAVE)
-
-
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(plugindir)
View
@@ -25,9 +25,7 @@ use Getopt::Long;
use Log::Handler;
# command-line comands. This array can be extended by plugins
-@Gerty::cli_loadmodules =
- ('run',
- 'install_plugin');
+@Gerty::cli_loadmodules = ('run');
# each command line execution module should register itself here
%Gerty::cmd_registry = ();
View
@@ -100,24 +100,4 @@ AC_CONFIG_FILES([setup_tools/substvars.sh],[chmod +x setup_tools/substvars.sh])
AC_SUBST(VERSION)
-# save the configuration variables, so that plugin installers re-use them
-VARSAVE=setup_tools/install_variables
-echo creating $VARSAVE
-${RM} -f $VARSAVE
-for VAR in ${ac_subst_vars}; do
- case ${VAR} in
- DEFS | PACKAGE* | INSTALL* | VERSION | ACLOCAL | AUTO* | MAKEINFO |\
- install_sh | AM* | am* | ac* | ECHO* | build* | host* | target* |\
- CYG* | PATH_SEPARATOR | AWK | STRIP | mkdir* |\
- perllibdirs )
- ;;
- *)
- eval 'VAL=${'$VAR'}'
- echo ${VAR}=\'${VAL}\' >>$VARSAVE
- ;;
- esac
-done
-
-AC_SUBST(VARSAVE)
-
AC_OUTPUT
@@ -1,52 +0,0 @@
-# Copyright (C) 2010 Stanislav Sinyagin
-#
-# 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 2 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, write to the Free Software
-
-# Gerty command that installs a plugin
-
-package Gerty::Runcmd::install_plugin;
-
-use strict;
-use warnings;
-
-
-$Gerty::cmd_registry{'install_plugin'} = {
- 'opts' => {},
- 'arguments' => 1,
- 'execute' => \&execute,
- 'help' =>
- "Usage: \n" .
- " gerty install_plugin DIR\n" .
- "The command installs a Gerty plugin (you need write permissions\n" .
- "for Gerty library directories)\n",
- };
-
-
-
-sub execute
-{
- my $plugindir = shift;
- $Gerty::log->critical('This command is not yet impplemented');
-}
-
-
-
-1;
-
-
-# Local Variables:
-# mode: perl
-# indent-tabs-mode: nil
-# perl-indent-level: 4
-# End:

0 comments on commit 709e3c1

Please sign in to comment.