From 8b8b722fed269b84f4fd883bebaf3b7636686e93 Mon Sep 17 00:00:00 2001 From: doko Date: Sun, 29 Mar 2015 16:18:09 +0000 Subject: * Fix installation of the gnat upstream ChangeLog. Closes: #781451. git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-5@7931 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca --- debian/rules.d/binary-ada.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'debian/rules.d') diff --git a/debian/rules.d/binary-ada.mk b/debian/rules.d/binary-ada.mk index 8d7b241..db35be9 100644 --- a/debian/rules.d/binary-ada.mk +++ b/debian/rules.d/binary-ada.mk @@ -262,7 +262,12 @@ $(binary_stamp)-ada: $(binary_stamp)-libgnatprj else $(binary_stamp)-ada: $(install_stamp) endif + +ifeq ($(with_separate_gnat),yes) $(binary_stamp)-ada: $(binary_stamp)-gnatbase +else +$(binary_stamp)-ada: +endif dh_testdir dh_testroot mv $(install_stamp) $(install_stamp)-tmp @@ -306,6 +311,9 @@ ifeq ($(PKGSOURCE),gnat-$(BASE_VERSION)) ifeq ($(with_check),yes) cp -p test-summary $(d_gnat)/$(docdir)/$(p_gbase)/. endif +else + mkdir -p $(d_gnat)/$(docdir)/$(p_gbase)/ada + cp -p src/gcc/ada/ChangeLog $(d_gnat)/$(docdir)/$(p_gbase)/ada/. endif for i in $(GNAT_TOOLS); do \ case "$$i" in \ -- cgit v1.2.3