+2001-03-10 Bruno Haible <haible@clisp.cons.org>
+
+ * Makefile.in.in (update-gmo): New target.
+ (update-po): After updating the po files, also update the gmo files.
+ (dist2): New target.
+ (dist): Depend on dist2, not directly on $(DISTFILES). Only after
+ 'update-po' has been executed, it is useful to regenerate $(GMOFILES).
+
2001-03-09 Bruno Haible <haible@clisp.cons.org>
* Makefile.in.in ($(PACKAGE).pot): Depend on POTFILES.in.
rm -f $(GMOFILES)
distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
-dist distdir: $(DISTFILES)
+dist distdir:
$(MAKE) update-po
+ @$(MAKE) dist2
+# This is a separate target because 'update-po' must be executed before.
+dist2: $(DISTFILES)
dists="$(DISTFILES)"; \
for file in $$dists; do \
cp -p $(srcdir)/$$file $(distdir); \
rm -f $$lang.new.po; \
fi; \
done
+ $(MAKE) update-gmo
+
+update-gmo: Makefile $(GMOFILES)
+ @:
POTFILES: POTFILES.in
( if test 'x$(srcdir)' != 'x.'; then \