[gnu.g++.lib.bug] Makefile bug

David.Detlefs@DLD.AVALON.CS.CMU.EDU (07/25/89)

In the libg++-1.35.1 Makefile, one of the targets is

install-sys-include-files:
	-mkdir $(IDIR)/sys
	-cd $(PWD)/g++-include/sys; \
	FILES=`find . -type f -print`; \
	cd $(IDIR)/sys; \
	rm -fr $$FILES; \
	cd $(PWD)/g++-include/sys; \
	FILES=`find . -type f -print`; \
	for file in $$FILES; do \
-->		rm -f $(IDIR)/$$file; \
-->		cp $$file $(IDIR)/$$file; \
-->		chmod 0444 $(IDIR)/$$file; \
-->		echo $$file installed; \
	done

This incorrectly installs the sys include files in the top-level
directory.  The four lines pointed at should read:

		rm -f $(IDIR)/sys/$$file; \
		cp $$file $(IDIR)/sys/$$file; \
		chmod 0444 $(IDIR)/sys/$$file; \
		echo sys/$$file installed; \

Thanks....

Dave