Skip to content

Commit

Permalink
renamed "plugins/" into "plugconf/"
Browse files Browse the repository at this point in the history
  • Loading branch information
ssinyagin committed Sep 19, 2011
1 parent 3131d0c commit e69e6b3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ noinst_SCRIPTS = \
setup_tools/substvars.sh

install-data-local:
$(mkinstalldirs) $(DESTDIR)$(plugindir)
$(mkinstalldirs) $(DESTDIR)$(plugconfdir)


dist-hook:
Expand Down
2 changes: 1 addition & 1 deletion bin/gerty.in
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $Gerty::external_executables{'telnet'} = '@TELNET@';

# Read plugin configurations
{
my $dir = '@plugindir@';
my $dir = '@plugconfdir@';
opendir(CFGDIR, $dir) or die("Cannot open directory $dir: $!");
my @files = grep { /\.init\.pl$/ } readdir(CFGDIR);
closedir( CFGDIR );
Expand Down
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ AC_ARG_VAR(pkgdatadir, [[DATADIR/gerty] Gerty data directory])
if test -z "$pkgdatadir"; then
pkgdatadir='${datadir}/gerty'; fi

AC_ARG_VAR(plugindir, [[PKGDATADIR/plugins] Plugin configuration directory])
if test -z "$plugindir"; then
plugindir='${pkgdatadir}/plugins'; fi
AC_ARG_VAR(plugconfdir, [[PKGDATADIR/plugconf] Plugin configuration directory])
if test -z "$plugconfdir"; then
plugconfdir='${pkgdatadir}/plugconf'; fi

AC_ARG_VAR(devclassdir, [[PKGDATADIR/devclasses] Device classes directory])
if test -z "$devclassdir"; then
Expand Down
2 changes: 1 addition & 1 deletion setup_tools/substvars.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pkgdatadir=@pkgdatadir@
-e "s,\@perllibdir\@,${perllibdir},g" \
-e "s,\@perllibdirs\@,@perllibdirs@,g" \
-e "s,\@pkgdatadir\@,@pkgdatadir@,g" \
-e "s,\@plugindir\@,@plugindir@,g" \
-e "s,\@plugconfdir\@,@plugconfdir@,g" \
-e "s,\@devclassdir\@,@devclassdir@,g" \
$1

Expand Down

0 comments on commit e69e6b3

Please sign in to comment.