From fce5e1185a493f3028bb3a8c649a2f40a7804930 Mon Sep 17 00:00:00 2001 From: Benjamin Rokseth Date: Thu, 7 Apr 2016 09:08:52 +0000 Subject: [PATCH] Bug 16222 - Add REST API folder to Makefile.PL Add `api` folder to INTRANET_CGI_FOLDER in Makefile.PL so that the new RESTFul API introduced in bug #13799 works also when installing with make. Test plan: - apply patch and do a `perl Makefile.PL` install - observe that INSTALL_DIR/intranet/cgi-bin now has a folder `api` containing the swagger files and the api cgi mount, app.pl. Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Signed-off-by: Brendan Gallagher (cherry picked from commit c20c70c99d79c0d02a37a0e41d0e90afb5c69681) Signed-off-by: Julian Maurice --- Makefile.PL | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.PL b/Makefile.PL index 24d2ad3015..200617f6b3 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -260,6 +260,7 @@ my $target_map = { './about.pl' => 'INTRANET_CGI_DIR', './acqui' => 'INTRANET_CGI_DIR', './admin' => 'INTRANET_CGI_DIR', + './api' => 'INTRANET_CGI_DIR', './authorities' => 'INTRANET_CGI_DIR', './basket' => 'INTRANET_CGI_DIR', './C4' => 'PERL_MODULE_DIR', -- 2.39.5