Bug 16222 - Add REST API folder to Makefile.PL
authorBenjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no>
Thu, 7 Apr 2016 09:08:52 +0000 (09:08 +0000)
committerBrendan Gallagher <bredan@bywatersolutions.com>
Wed, 20 Apr 2016 21:18:36 +0000 (21:18 +0000)
commitc20c70c99d79c0d02a37a0e41d0e90afb5c69681
treeed690f50678a214ead97eb31ecee885bfe27a5ca
parent9aa8bf46f6b45ebcd342c09bd3a09ae55f3dd4a8
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 <chrisc@catalyst.net.z>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan Gallagher <bredan@bywatersolutions.com>
Makefile.PL