* dep-in.sed: Don't use \n in replacement part of s command.

* Makefile.am (DEP1): LC_ALL for uniq.
	* Makefile.in: Regenerate.
This commit is contained in:
Alan Modra
2009-06-04 06:57:56 +00:00
parent 26d1917c55
commit 67a648f17a
12 changed files with 36 additions and 9 deletions

View File

@ -654,7 +654,8 @@ DEP1: $(CFILES)
for f in $?; do \
$(MKDEP) $(INCLUDES) $(CFLAGS) $$f > DEPA; \
sed -n -e '1s/\.o: .*/.lo: \\/p' -e q < DEPA >> DEP2; \
sed -e '1s/.*: //' -f dep.sed < DEPA | LC_ALL=C sort | uniq | \
sed -e '1s/.*: //' -f dep.sed < DEPA | \
LC_ALL=C sort | LC_ALL=C uniq | \
sed -e 's/^[AB]/ /' -e '$$s/ \\$$//' >> DEP2; \
done
rm -f DEPA