fastjar/Makefile.in is generated by a bad automake

H . J . Lu hjl@valinux.com
Wed Feb 21 11:22:00 GMT 2001


I believe fastjar/Makefile.in is generated by a bad automake. I
noticed the same problem years ago in binutils. Around line 325,
there

	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$/$$file $(distdir)/$$file; \
		   ^^^

I believe we fixed it in binutils with a good automake. Whoever
is checking in fastjar/Makefile.in should get a newer automake.

BTW, please try

# cd gcc
# grep "(distdir)" */Makefile.in | grep pr

I got

boehm-gc/Makefile.in:       cp -pr $$d/$$file $(distdir)/$$file; \
fastjar/Makefile.in:        cp -pr $$/$$file $(distdir)/$$file; \
libjava/Makefile.in:        cp -pr $$d/$$file $(distdir)/$$file; \
libstdc++-v3/Makefile.in:           cp -pr $$d/$$file $(distdir)/$$file; \
zlib/Makefile.in:           cp -pr $$d/$$file $(distdir)/$$file; \


-- 
H.J. Lu (hjl@valinux.com)



More information about the Gcc-bugs mailing list