From c2f75c2ae5c0aa4468cd1d257fa0c084b2391f73 Mon Sep 17 00:00:00 2001 From: Maxime Besson Date: Thu, 2 Apr 2020 17:55:50 +0200 Subject: [PATCH] Fix make json when changing portal constants (#2131) --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 888126efc..fd189574f 100644 --- a/Makefile +++ b/Makefile @@ -207,15 +207,21 @@ MANAGERJSONSRC= scripts/jsongenerator.pl \ $(SRCMANAGERDIR)/lib/Lemonldap/NG/Manager/Build/Attributes.pm \ $(SRCMANAGERDIR)/lib/Lemonldap/NG/Manager/Build/Tree.pm \ $(SRCMANAGERDIR)/lib/Lemonldap/NG/Manager/Build/CTrees.pm \ - $(SRCMANAGERDIR)/lib/Lemonldap/NG/Manager/Conf/Zero.pm + $(SRCMANAGERDIR)/lib/Lemonldap/NG/Manager/Conf/Zero.pm \ + $(SRCMANAGERDIR)/lib/Lemonldap/NG/Manager/Build/PortalConstants.pm MANAGERJSONDST=$(SRCMANAGERDIR)/site/htdocs/static/struct.json \ + $(SRCMANAGERDIR)/site/htdocs/static/reverseTree.json \ $(SRCMANAGERDIR)/site/htdocs/static/js/conftree.js \ $(SRCMANAGERDIR)/lib/Lemonldap/NG/Manager/Attributes.pm \ $(SRCCOMMONDIR)/lib/Lemonldap/NG/Common/Conf/ReConstants.pm \ $(SRCCOMMONDIR)/lib/Lemonldap/NG/Common/Conf/DefaultValues.pm \ $(SRCCOMMONDIR)/lib/Lemonldap/NG/Common/Conf/Constants.pm \ + $(SRCPORTALDIR)/lib/Lemonldap/NG/Portal/Main/Constants.pm \ + $(SRCHANDLERDIR)/lib/Lemonldap/NG/Handler/Lib/StatusConstants.pm \ _example/conf/lmConf-1.json + + # Javascript and CSS to minify JSSRCFILES:=$(shell find */site/htdocs/static/js $(SRCPORTALDIR)/site/htdocs/static -type f -name '*.js' ! -name '*.min.js') \ $(SRCMANAGERDIR)/site/htdocs/static/bwr/file-saver.js/FileSaver.js