@$(MAKE) dist2
# This is a separate target because 'update-po' must be executed before.
dist2: $(srcdir)/stamp-po $(DISTFILES)
- dists="$(DISTFILES)"; \
+ @dists="$(DISTFILES)"; \
if test "$(PACKAGE)" = "gettext-tools"; then \
dists="$$dists Makevars.template"; \
fi; \
if test -f $(srcdir)/$(DOMAIN).pot; then \
dists="$$dists $(DOMAIN).pot stamp-po"; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the contents of the POTFILES.in file and the XGETTEXT_OPTIONS in the Makevars file." 1>&2;; \
+ esac; \
fi; \
if test -f $(srcdir)/ChangeLog; then \
dists="$$dists ChangeLog"; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
- if test -f $(srcdir)/$(DOMAIN).pot; then \
+ @if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po; do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
cp -p $$d/$$file $(distdir)/$$file || exit 1; \
done; \
+ else \
+ case $(XGETTEXT) in \
+ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \
+ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \
+ esac; \
fi
update-po: Makefile