Commit bdf65049 authored by Xavier Guimard's avatar Xavier Guimard

Move jsongenerator to root script directory

parent dab3c486
......@@ -119,7 +119,7 @@ EXAMPLELANG=en # For static Manager example only
ERASECONFIG=1 # Set to 0 if you do not want to replace your configuration
# GENERATED SRC FILESlemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/DefaultValues.pm
MANAGERJSONSRC=$(SRCMANAGERDIR)/scripts/jsongenerator.pl \
MANAGERJSONSRC= scripts/jsongenerator.pl \
$(SRCMANAGERDIR)/lib/Lemonldap/NG/Manager/Build.pm \
$(SRCMANAGERDIR)/lib/Lemonldap/NG/Manager/Build/Attributes.pm \
$(SRCMANAGERDIR)/lib/Lemonldap/NG/Manager/Build/Tree.pm
......@@ -180,7 +180,7 @@ all: configure common handler manager portal
json: $(MANAGERJSONDST)
$(MANAGERJSONDST): $(MANAGERJSONSRC)
cd $(SRCMANAGERDIR) && ./scripts/jsongenerator.pl && cd -
./scripts/jsongenerator.pl
configure: json common_conf handler_conf portal_conf manager_conf
......
#!/usr/bin/perl -Ilib/ -I../lemonldap-ng-common/lib/ -w
use Lemonldap::NG::Manager::Build;
Lemonldap::NG::Manager::Build->run(
structFile => "site/static/struct.json",
confTreeFile => "site/static/js/conftree.js",
managerConstantsFile => "lib/Lemonldap/NG/Manager/Constants.pm",
managerAttributesFile => 'lib/Lemonldap/NG/Manager/Attributes.pm',
defaultValuesFile =>
"../lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/DefaultValues.pm",
);
#!/usr/bin/perl -Ilemonldap-ng-manager/lib/ -Ilemonldap-ng-common/lib/ -w
use Lemonldap::NG::Manager::Build;
Lemonldap::NG::Manager::Build->run(
structFile => "lemonldap-ng-manager/site/static/struct.json",
confTreeFile => "lemonldap-ng-manager/site/static/js/conftree.js",
managerConstantsFile => "lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Constants.pm",
managerAttributesFile => 'lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Attributes.pm',
defaultValuesFile => "lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/DefaultValues.pm",
);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment