summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-05-31 00:58:51 +0000
committerJim Meyering <jim@meyering.net>1996-05-31 00:58:51 +0000
commit22978078f79fb77206f31934c3fbb0db5fddc11d (patch)
tree9fe203f28fca4a0061f780a5bddeb3bf4b9db7ee /po
parent53e41464fd2798e3e0935019403b890e64b195e4 (diff)
downloadcoreutils-22978078f79fb77206f31934c3fbb0db5fddc11d.tar.xz
(stamp-cat-id): Avoid using temp filename longer than 14 characters.
(mostlyclean): Likewise. From Karl Heuer.
Diffstat (limited to 'po')
-rw-r--r--po/Makefile.in.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
index 5d8f30977..701d61c4b 100644
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -103,15 +103,15 @@ $(PACKAGE).pot: $(POTFILES)
cat-id-tbl.c: stamp-cat-id
stamp-cat-id: $(PACKAGE).pot
- rm -f cat-id-tbl.tmp.c
+ rm -f cat-id-tbl.tmp
sed -f ../intl/po2tbl.sed $(srcdir)/$(PACKAGE).pot \
- | sed -e "s/@PACKAGE NAME@/$(PACKAGE)/" > cat-id-tbl.tmp.c
- if cmp -s cat-id-tbl.tmp.c $(srcdir)/cat-id-tbl.c; then \
- rm cat-id-tbl.tmp.c; \
+ | sed -e "s/@PACKAGE NAME@/$(PACKAGE)/" > cat-id-tbl.tmp
+ if cmp -s cat-id-tbl.tmp $(srcdir)/cat-id-tbl.c; then \
+ rm cat-id-tbl.tmp; \
else \
echo cat-id-tbl.c changed; \
rm -f $(srcdir)/cat-id-tbl.c; \
- mv cat-id-tbl.tmp.c $(srcdir)/cat-id-tbl.c; \
+ mv cat-id-tbl.tmp $(srcdir)/cat-id-tbl.c; \
fi
cd $(srcdir) && rm -f stamp-cat-id && echo timestamp > stamp-cat-id
@@ -171,7 +171,7 @@ cat-id-tbl.o: ../intl/libgettext.h
TAGS ID:
mostlyclean:
- rm -f core core.* *.pox $(PACKAGE).po *.old.po cat-id-tbl.tmp.c
+ rm -f core core.* *.pox $(PACKAGE).po *.old.po cat-id-tbl.tmp
rm -fr *.o
clean: mostlyclean