This is somewhat tricky, because it is also a phony Makefile target.
* gettext-tools/wizard/po-templates/traditional/Makefile.in.in (dist2):
Distribute 'fetch-po'.
* gettext-tools/examples/po/Makefile.am (distdir1): Distribute 'fetch-po'.
* gettext-tools/examples/hello-*/po/Makefile.am (distdir1): Likewise.
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
distdir1:
$(MAKE) update-po
$(MAKE) $(srcdir)/stamp-po
+ @for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
@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; \
## Makefile for the gettext-tools/examples/po subdirectory of GNU gettext
-## Copyright (C) 1995-2025 Free Software Foundation, Inc.
+## Copyright (C) 1995-2026 Free Software Foundation, Inc.
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
# Hidden from automake, but really activated. Works around an automake-1.5 bug.
#distdir: distdir1
distdir1: $(srcdir)/$(DOMAIN).pot
+ for file in fetch-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
if test -f $(srcdir)/$(DOMAIN).pot; then \
for file in $(DOMAIN).pot stamp-po $(SMALLPOTS); do \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
@$(MAKE) dist2
# This is a separate target because 'update-po' must be executed before.
dist2: $(srcdir)/stamp-po $(DISTFILES)
- @dists="$(DISTFILES)"; \
+ @dists="$(DISTFILES) fetch-po"; \
if test -f $(srcdir)/$(DOMAIN).pot; then \
dists="$$dists $(DOMAIN).pot stamp-po"; \
else \