From 1e9dc3ce45ac44ea51292ca964b52ce47fee3ad3 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Tue, 12 Jul 2005 04:35:13 +0000 Subject: Various minor updates and code cleanups. --- maintMakefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'maintMakefile') diff --git a/maintMakefile b/maintMakefile index 73af051..b679eb4 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". -- cgit v1.2.3