I find it a little bit disturbing that gpc's `make install' will remove pre-existing files from $(docdemodir). Besides, for some reason I'm yet to understand, it causes installation to fail on AIX 4.1.5, with an error message about an exceeding long command line when running `rm'. The patch below seems to fix it.
If you really mean to delete the contents of $(docdemodir), I suggest making it `for f in $(docdemodir)/*; do rm -f $$f; done', to avoid the line-too-long error.
Thanks!
--- gcc/p/Make-lang-2.95.in~ Thu Oct 19 06:29:35 2000 +++ gcc/p/Make-lang-2.95.in Mon Jan 15 00:12:41 2001 @@ -588,7 +588,6 @@ done chmod a-x $(docdir)/BUGS $(demodir)/* if [ "`cd p/docdemos && echo *`" != "*" ]; then \ - rm -f $(docdemodir)/* && \ for f in `cd p/docdemos && echo *`; do \ rm -f $(docdemodir)/$$f; \ $(INSTALL_DATA) p/docdemos/$$f $(docdemodir)/$$f || exit 1; \ --- gcc/p/Make-lang-old.in~ Thu Oct 19 06:29:35 2000 +++ gcc/p/Make-lang-old.in Mon Jan 15 00:12:31 2001 @@ -588,7 +588,6 @@ done chmod a-x $(docdir)/BUGS $(demodir)/* if [ "`cd p/docdemos && echo *`" != "*" ]; then \ - rm -f $(docdemodir)/* && \ for f in `cd p/docdemos && echo *`; do \ rm -f $(docdemodir)/$$f; \ $(INSTALL_DATA) p/docdemos/$$f $(docdemodir)/$$f || exit 1; \ --- gcc/p/Make-lang.in~ Thu Oct 19 06:29:35 2000 +++ gcc/p/Make-lang.in Mon Jan 15 00:12:26 2001 @@ -588,7 +588,6 @@ done chmod a-x $(docdir)/BUGS $(demodir)/* if [ "`cd p/docdemos && echo *`" != "*" ]; then \ - rm -f $(docdemodir)/* && \ for f in `cd p/docdemos && echo *`; do \ rm -f $(docdemodir)/$$f; \ $(INSTALL_DATA) p/docdemos/$$f $(docdemodir)/$$f || exit 1; \