[beast: 36/41] MISC: install copyright in beast-<version>/doc



commit ca4937b7b0afbd7317a5856f7602c48bbb25dbf1
Author: Tim Janik <timj gnu org>
Date:   Wed Jun 14 23:32:00 2017 +0200

    MISC: install copyright in beast-<version>/doc
    
    Signed-off-by: Tim Janik <timj gnu org>

 data/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index fec9f73..dc826f4 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -87,7 +87,9 @@ INSTALL_SYMLINK = ( d=$$(dirname $(2)) && set -x && rm -f $(2) && $(MKDIR_P) "$$
 # Create links into standard filesystem hierarchy (FHS) and update system databases
 # * https://www.freedesktop.org/wiki/Howto_desktop_files/
 # * https://www.freedesktop.org/Standards/shared-mime-info-spec
+# TODO: ../debian/copyright *should* be moved into ../docs/ and installed from there
 install-data-hook:
+       @set -x && $(INSTALL_DATA) ../debian/copyright '$(DESTDIR)$(beastdocdir)/copyright'
        @$(call INSTALL_SYMLINK, '$(beastmandir)/man1/beast.1', '$(DESTDIR)$(mandir)/man1/beast.1')
        @$(call INSTALL_SYMLINK, '$(beastmandir)/man1/bsewavetool.1', 
'$(DESTDIR)$(mandir)/man1/bsewavetool.1')
        @$(call INSTALL_SYMLINK, '$(beastmandir)/man5/bse.5', '$(DESTDIR)$(mandir)/man5/bse.5')
@@ -102,6 +104,7 @@ install-data-hook:
 beastmandir = ${beastsharedir}/man
 
 uninstall-local: uninstall-sharedmimepackageDATA
+       rm -f '$(DESTDIR)$(beastdocdir)/copyright'
        rm -f '$(DESTDIR)$(mandir)/man1/beast.1'
        rm -f '$(DESTDIR)$(mandir)/man1/bsewavetool.1'
        rm -f '$(DESTDIR)$(mandir)/man5/bse.5'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]