+2001-05-22 Bruno Haible <haible@clisp.cons.org>
+
+ * Makefile.in (install-data): Install plural.c as well.
+ (uninstall): Uninstall plural.c as well.
+
2001-05-18 Bruno Haible <haible@clisp.cons.org>
* Makefile.in (dist): Don't assume $(srcdir) = ".". Distribute
$(DESTDIR)$(gettextsrcdir)/$$file; \
done; \
chmod a+x $(DESTDIR)$(gettextsrcdir)/config.charset; \
+ dists="$(DISTFILES.generated)"; \
+ for file in $$dists; do \
+ if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
+ $(INSTALL_DATA) $$dir/$$file \
+ $(DESTDIR)$(gettextsrcdir)/$$file; \
+ done; \
dists="$(DISTFILES.obsolete)"; \
for file in $$dists; do \
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
: ; \
fi
if test "$(PACKAGE)" = "gettext"; then \
- for file in VERSION ChangeLog $(DISTFILES.common); do \
+ for file in VERSION ChangeLog $(DISTFILES.common) $(DISTFILES.generated); do \
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
done; \
else \
+2001-05-22 Bruno Haible <haible@clisp.cons.org>
+
+ * gettextize.in: Copy plural.c and touch it afterwards.
+
2001-05-21 Alexandre Duret-Lutz <duret_g@epita.fr>
* gettextize.in: Check for configure.ac in addition to configure.in.
cd intl
for file in *; do
rm -f $srcdir/intl/$file
- ($try_ln_s && ln -s $gettext_dir/intl/$file $srcdir/intl/$file && $echo "Symlinking file intl/$file") 2>/dev/null ||
- { $echo "Copying file intl/$file"; cp $file $srcdir/intl/$file; }
+ if test $file != plural.c; then
+ ($try_ln_s && ln -s $gettext_dir/intl/$file $srcdir/intl/$file && $echo "Symlinking file intl/$file") 2>/dev/null ||
+ { $echo "Copying file intl/$file"; cp $file $srcdir/intl/$file; }
+ else
+ # plural.c is a generated file; it must be copied and touched.
+ $echo "Copying file intl/$file"; cp $file $srcdir/intl/$file
+ sleep 2; touch $srcdir/intl/$file
+ fi
done
# Copy files to po/ subdirectory.