[gnome-photos] build: Don't install COPYING
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] build: Don't install COPYING
- Date: Fri, 19 Oct 2018 16:07:38 +0000 (UTC)
commit ef15cadbbf14c6baf99871828806ffa500c7b2e0
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Oct 19 17:57:50 2018 +0200
build: Don't install COPYING
$datadir/doc or $docdir is not necessarily the right location to place
the COPYING file. Some distributors might want to install it somewhere
else. eg., Fedora RPMs [1] mark the license text with %license which
puts it under $datadir/licenses. Currently, such a distributor has to
go out of its way to not have two copies of the files.
As a data point, GLib doesn't install its COPYING file either.
Users can still see the license from the application's about dialog.
[1] https://fedoraproject.org/wiki/Packaging:LicensingGuidelines
Makefile.am | 2 +-
meson.build | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 04087a03..3f79dbd5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,12 +6,12 @@ photosdocdir = $(docdir)
photosdoc_DATA = \
ARTISTS \
AUTHORS \
- COPYING \
NEWS \
README \
$(NULL)
EXTRA_DIST = \
+ COPYING \
$(photosdoc_DATA) \
$(NULL)
diff --git a/meson.build b/meson.build
index a0fdc369..ca10374a 100644
--- a/meson.build
+++ b/meson.build
@@ -185,7 +185,6 @@ artists = files('ARTISTS')
authors = files('AUTHORS')
doc_data = artists + authors + files(
- 'COPYING',
'NEWS',
'README',
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]