summaryrefslogtreecommitdiff
path: root/debian/patches/gm2-install-man.diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-18 15:53:29 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-18 15:53:29 +0300
commit8f6c4b0033c72f8ac14694c419a99458339dd6a9 (patch)
tree06c106e622a58100aa85a381b9b65d222b076df4 /debian/patches/gm2-install-man.diff
parent42156b5190f4fa150e1fab6777eb81e69d4db8c9 (diff)
downloadgcc-9-debian.tar.gz
Import gcc-9 (9.2.1-19)debian/9.2.1-19debian
Diffstat (limited to 'debian/patches/gm2-install-man.diff')
-rw-r--r--debian/patches/gm2-install-man.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/gm2-install-man.diff b/debian/patches/gm2-install-man.diff
new file mode 100644
index 0000000..4cad7bb
--- /dev/null
+++ b/debian/patches/gm2-install-man.diff
@@ -0,0 +1,21 @@
+--- a/src/gcc/gm2/Make-lang.in
++++ b/src/gcc/gm2/Make-lang.in
+@@ -403,15 +403,9 @@
+
+ gm2.install-man: $(GENERATED_MANPAGES) installdirs
+ -if [ -f xgm2$(exeext) ] ; then \
+- if [ -f xgm2-cross$(exeext) ] ; then \
+- rm -f $(DESTDIR)$(man1dir)/$(GM2_CROSS_NAME)$(man1ext); \
+- $(INSTALL_DATA) gm2/man/gm2.1 $(DESTDIR)$(man1dir)/$(GM2_CROSS_NAME)$(man1ext); \
+- chmod a-x $(DESTDIR)$(man1dir)/$(GM2_CROSS_NAME)$(man1ext); \
+- else \
+- rm -f $(DESTDIR)$(man1dir)/$(GM2_INSTALL_NAME)$(man1ext); \
+- $(INSTALL_DATA) gm2/man/gm2.1 $(DESTDIR)$(man1dir)/$(GM2_INSTALL_NAME)$(man1ext); \
+- chmod a-x $(DESTDIR)$(man1dir)/$(GM2_INSTALL_NAME)$(man1ext); \
+- fi; \
++ rm -f $(DESTDIR)$(man1dir)/$(GM2_INSTALL_NAME)$(man1ext); \
++ $(INSTALL_DATA) gm2/man/gm2.1 $(DESTDIR)$(man1dir)/$(GM2_INSTALL_NAME)$(man1ext); \
++ chmod a-x $(DESTDIR)$(man1dir)/$(GM2_INSTALL_NAME)$(man1ext); \
+ else true; fi
+
+ gm2.install-normal: gm2.install-common gm2.install-info gm2.install-man