Bug 21626: (QA follow-up) Embed teams.yaml for debian packages
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 May 2019 14:39:01 +0000 (15:39 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 17 May 2019 14:46:10 +0000 (14:46 +0000)
Like history.txt we need to tell some debian/ files to copy
teams.yaml
Also pick it for the `make install` process (Makefile.PL)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Makefile.PL
debian/koha-common.docs
debian/rules

index 9ab7839..0a0d4b7 100644 (file)
@@ -306,6 +306,7 @@ my $target_map = {
   './course_reserves'           => 'INTRANET_CGI_DIR',
   './docs/history.txt'          => { target => 'DOC_DIR', trimdir => -1 },
   './docs/contributors.yaml'    => { target => 'DOC_DIR', trimdir => -1 },
+  './docs/teams.yaml'           => { target => 'DOC_DIR', trimdir => -1 },
   './offline_circ'              => 'INTRANET_CGI_DIR',
   './etc'                       => { target => 'KOHA_CONF_DIR', trimdir => -1 },
   './etc/zebradb'               => { target => 'ZEBRA_CONF_DIR', trimdir => -1 },
index 4a6a9e8..fc95b8e 100644 (file)
@@ -2,3 +2,4 @@ debian/docs/LEEME.Debian
 misc/release_notes/release_notes_3*.txt
 docs/history.txt
 docs/contributors.yaml
+docs/teams.yaml
index 3c72f9d..00830cc 100755 (executable)
@@ -45,4 +45,4 @@ override_dh_auto_install:
 
 override_dh_compress:
        # exclude history.txt from compression as about.pl needs it uncompressed
-       dh_compress --exclude=history.txt --exclude=contributors.yaml
+       dh_compress --exclude=history.txt --exclude=contributors.yaml --exclude=teams.yaml