(trusted-dirs.st): Use gen-trusted-dirs.awk.
authordrepper <drepper>
Mon, 3 May 1999 21:55:07 +0000 (21:55 +0000)
committerdrepper <drepper>
Mon, 3 May 1999 21:55:07 +0000 (21:55 +0000)
elf/Makefile

index 0fcb1b2..26a0832 100644 (file)
@@ -155,10 +155,8 @@ endif
 $(objpfx)trusted-dirs.h: $(objpfx)trusted-dirs.st; @:
 $(objpfx)trusted-dirs.st: Makefile $(..)Makeconfig
        $(make-target-directory)
-       dirs="$(subst :, ,$(default-rpath) $(user-defined-trusted-dirs))";   \
-       for dir in $$dirs; do                                                \
-         echo "  \"$$dir/\",";                                              \
-       done > ${@:st=T}
+       echo "$(subst :, ,$(default-rpath) $(user-defined-trusted-dirs))"    \
+       | $(AWK) -f gen-trusted-dirs.awk > ${@:st=T};
        $(move-if-change) ${@:st=T} ${@:st=h}
        touch $@
 CPPFLAGS-dl-load.c = -I$(objpfx).