From 2ee7793138389f0390f8b9e75be5288419684d8b 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 --- Makefile.PL | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.PL b/Makefile.PL index 24d2ad3..200617f 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.1.4