bet@ORION.MC.DUKE.EDU (Bennett Todd) (12/19/89)
The Makefile from this tar off of prep: -rw-r--r-- 1 14910 250959 Nov 6 18:08 binutils.tar.Z has a buggy make install section. There should either be a comment pointing out you need to go "make ... bindir=/usr/local/bin" or there should be a define for bindir in the Makefile. In the make install section: install: $(PROGS) for file in $(PROGS); do \ cp $$file $(bindir)/$${file}.new \ mv $(bindir)/$${file}.new $(bindir)/$file \ done We need to add another "$" to the last variable substitution in the "mv" line, like so: mv $(bindir)/$${file}.new $(bindir)/$$file \ And finally, when I tried it, I got an error: Script started on Tue Dec 19 10:27:38 1989 george[1] make install bindir=/usr/local/bin for file in gprof ld size nm strip ar ranlib; do \ cp $file /usr/local/bin/${file}.new \ mv /usr/local/bin/${file}.new /usr/local/bin/$file \ done /bin/sh: syntax error at line 1: `end of file' unexpected make: *** [install] Error 2 george[2] script done on Tue Dec 19 10:27:49 1989 I dunno what's wrong. The make in question is GNU Make 3.57, built with gcc 1.36. System is Sun 3/280 running SunOS 3.5. Also, I don't know if this has already been reported; I was subscribed to bug-gnu-utils for a while, but after a short flurry of messages I seem to have been dropped from the list. If anyone wanted to be so kind as to add me back on, I'd appreciate it. -Bennett bet@orion.mc.duke.edu