diff --git a/gcc/cobol/Make-lang.in b/gcc/cobol/Make-lang.in index d4825f23c2e422e6ae8785d1db721d225ae9004e..e771009d031ca2a76acf36a0877e1b65431e3595 100644 --- a/gcc/cobol/Make-lang.in +++ b/gcc/cobol/Make-lang.in @@ -174,28 +174,20 @@ cobol.start.encap: gcobol$(exeext) cobol.rest.encap: cobol.install-common: installdirs - -rm -f $(DESTDIR)$(bindir)/$(gcobol_INSTALL_NAME)$(exeext) - $(INSTALL_PROGRAM) gcobol$(exeext) \ + $(INSTALL_PROGRAM) -v gcobol$(exeext) \ $(DESTDIR)$(bindir)/$(gcobol_INSTALL_NAME)$(exeext) - rm -f $(DESTDIR)$(bindir)/$(gcobol_TARGET_INSTALL_NAME)$(exeext); \ - ( cd $(DESTDIR)$(bindir) && \ - $(LN) $(gcobol_INSTALL_NAME)$(exeext) \ - $(gcobol_TARGET_INSTALL_NAME)$(exeext) ); \ - $(END) + $(INSTALL_PROGRAM) -v $(srcdir)/cobol/gcobc $(DESTDIR)$(bindir)/ cobol.install-man: installdirs - @rm -f $(DESTDIR)$(man1dir)/gcobol.1 - @echo DESTDIR = $(DESTDIR) - @echo srcdir = $(srcdir) - @echo installing gcobol.1 from $(srcdir)/cobol/gcobol.1 - $(INSTALL_DATA) $(srcdir)/cobol/gcobol.1 $(DESTDIR)$(man1dir)/gcobol.1 + $(INSTALL_DATA) -v $(srcdir)/cobol/gcobol.1 $(DESTDIR)$(man1dir)/ + $(INSTALL_DATA) -v $(srcdir)/cobol/gcobol.3 $(DESTDIR)$(man3dir)/ cobol.install-info: cobol.install-pdf: cobol.install-plugin: - +f cobol.install-html: cobol.info: diff --git a/gcc/cobol/gcobc b/gcc/cobol/gcobc index c2a5feb205b04864bf2acb105dc5c923db34bf69..60d5c657e563b32c6d0d4543371258eb28b1b872 100755 --- a/gcc/cobol/gcobc +++ b/gcc/cobol/gcobc @@ -1,5 +1,9 @@ #! /bin/sh -e +# +# COPYRIGHT +# The gcobc program is in public domain. +# If it breaks then you get to keep both pieces. # # This file emulates the GnuCOBOL cobc compiler to a limited degree. # For options that can be "mapped" (see migration-guide.1), it accepts