summaryrefslogtreecommitdiff
path: root/debian/rules.d
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-03-29 16:18:09 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-03-29 16:18:09 +0000
commit8b8b722fed269b84f4fd883bebaf3b7636686e93 (patch)
tree23bbae1fec0159f2e2d395b51bc2e91d89710e8a /debian/rules.d
parent2c10b680ffcd5e1058ae09c1deabb6a5e5d398b0 (diff)
downloadgcc-5-8b8b722fed269b84f4fd883bebaf3b7636686e93.tar.gz
* 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
Diffstat (limited to 'debian/rules.d')
-rw-r--r--debian/rules.d/binary-ada.mk8
1 files changed, 8 insertions, 0 deletions
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 \