summaryrefslogtreecommitdiff
path: root/maintMakefile
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-07-12 04:35:13 +0000
committerPaul Smith <psmith@gnu.org>2005-07-12 04:35:13 +0000
commit1e9dc3ce45ac44ea51292ca964b52ce47fee3ad3 (patch)
tree8bec287893a5b2fb441be612fbac4d64b8d8c8b2 /maintMakefile
parent0e30f46a624803455dcc74acf9a333666467d253 (diff)
downloadgunmake-1e9dc3ce45ac44ea51292ca964b52ce47fee3ad3.tar.gz
Various minor updates and code cleanups.
Diffstat (limited to 'maintMakefile')
-rw-r--r--maintMakefile13
1 files changed, 7 insertions, 6 deletions
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".