Bug 22893: Embed contributors.yaml for debian packages
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 13 May 2019 00:26:41 +0000 (19:26 -0500)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 14 May 2019 18:16:37 +0000 (18:16 +0000)
Like history.txt we need to tell some debian/ files to copy contributors.yaml
Also pick it for the `make install` process (Makefile.PL)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

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

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

index ce323ef..9ab7839 100644 (file)
@@ -305,6 +305,7 @@ my $target_map = {
   './clubs'                     => 'INTRANET_CGI_DIR',
   './course_reserves'           => 'INTRANET_CGI_DIR',
   './docs/history.txt'          => { target => 'DOC_DIR', trimdir => -1 },
+  './docs/contributors.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 6106c24..4a6a9e8 100644 (file)
@@ -1,3 +1,4 @@
 debian/docs/LEEME.Debian
 misc/release_notes/release_notes_3*.txt
 docs/history.txt
+docs/contributors.yaml
index 20eb9e2..3c72f9d 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
+       dh_compress --exclude=history.txt --exclude=contributors.yaml