aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/Make-lang.in
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2004-02-13 23:05:02 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2004-02-13 23:05:02 +0000
commitc7dad005ec7b65b8d34878429c5d346597ed5a07 (patch)
treefdebadb471ce76a0056355a2b0afb4b40b40f862 /gcc/java/Make-lang.in
parent19baba0bbf4fef5fed88f7b854c175804355b5a4 (diff)
downloadgcc-c7dad005ec7b65b8d34878429c5d346597ed5a07.zip
gcc-c7dad005ec7b65b8d34878429c5d346597ed5a07.tar.gz
gcc-c7dad005ec7b65b8d34878429c5d346597ed5a07.tar.bz2
Make-lang.in: Install man pages under the same names (possibly transformed) as the program...
* Make-lang.in: Install man pages under the same names (possibly transformed) as the program they document. From-SVN: r77778
Diffstat (limited to 'gcc/java/Make-lang.in')
-rw-r--r--gcc/java/Make-lang.in18
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in
index 1a20362..52d720d 100644
--- a/gcc/java/Make-lang.in
+++ b/gcc/java/Make-lang.in
@@ -396,15 +396,15 @@ rmiregistry.pod: java/gcj.texi
# Install the man pages.
java.install-man: installdirs \
- $(DESTDIR)$(man1dir)/$(JAVA_INSTALL_NAME)$(man1ext) \
- $(DESTDIR)$(man1dir)/gcjh$(man1ext) \
- $(DESTDIR)$(man1dir)/jv-scan$(man1ext) \
- $(DESTDIR)$(man1dir)/jcf-dump$(man1ext) \
- $(DESTDIR)$(man1dir)/gij$(man1ext) \
- $(DESTDIR)$(man1dir)/jv-convert$(man1ext) \
- $(DESTDIR)$(man1dir)/jv-convert$(man1ext) \
- $(DESTDIR)$(man1dir)/rmic$(man1ext) \
- $(DESTDIR)$(man1dir)/rmiregistry$(man1ext)
+ $(DESTDIR)$(man1dir)/$(JAVA_INSTALL_NAME)$(man1ext)
+ for tool in $(JAVA_TARGET_INDEPENDENT_BIN_TOOLS) \
+ gij jv-convert rmic rmiregistry ; do \
+ tool_transformed_name=`echo $$tool|sed '$(program_transform_name)'`; \
+ man_name=$(DESTDIR)$(man1dir)/$${tool_transformed_name}$(man1ext); \
+ rm -f $$man_name ; \
+ $(INSTALL_DATA) doc/$${tool}.1 $$man_name; \
+ chmod a-x $$man_name ; \
+ done
$(DESTDIR)$(man1dir)/$(JAVA_INSTALL_NAME)$(man1ext): doc/gcj.1
-rm -f $@