diff options
author | psmith <> | 2005-07-12 04:35:13 +0000 |
---|---|---|
committer | psmith <> | 2005-07-12 04:35:13 +0000 |
commit | 77f6a3980375fd124b2c859b4807e2ab20576e0c (patch) | |
tree | b8fa37fe6ade5cae8cb439669863d103fff52ce4 /maintMakefile | |
parent | f5ffd0cd8bf710fb2214bb97e39b3fcaf3df2099 (diff) | |
download | make-77f6a3980375fd124b2c859b4807e2ab20576e0c.tar.gz |
Various minor updates and code cleanups.
Diffstat (limited to 'maintMakefile')
-rw-r--r-- | maintMakefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/maintMakefile b/maintMakefile index 73af0515..b679eb46 100644 --- a/maintMakefile +++ b/maintMakefile @@ -64,15 +64,16 @@ build.sh.in: build.template Makefile # DEP_FILES := $(wildcard $(DEPDIR)/*.Po) .dep_segment: Makefile.am maintMakefile $(DEP_FILES) + rm -f $@ (for f in $(DEPDIR)/*.Po; do \ echo ""; \ echo "# $$f"; \ - cat $$f \ - | sed -e '/^[^:]*\.[ch] *:/d' \ - -e 's, /usr/[^ ]*,,g' \ - -e 's, $(srcdir)/, ,g' \ - -e '/^ *\\$$/d' \ - -e '/^ *$$/d'; \ + sed -e '/^[^:]*\.[ch] *:/d' \ + -e 's, /usr/[^ ]*,,g' \ + -e 's, $(srcdir)/, ,g' \ + -e '/^ *\\$$/d' \ + -e '/^ *$$/d' \ + < $$f; \ done) > $@ # Get rid of everything "else". |