]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
po, examples: Put stamp-po in the source directory.
authorBruno Haible <bruno@clisp.org>
Wed, 24 Oct 2018 21:13:36 +0000 (23:13 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 24 Oct 2018 21:13:36 +0000 (23:13 +0200)
Rationale: <https://www.gnu.org/prep/standards/html_node/Makefile-Basics.html>.

* gettext-runtime/po/Makefile.in.in: Use $(srcdir)/stamp-po instead of stamp-po.
Talk about "version control system", not CVS.
* gettext-tools/examples/hello-*/po/Makefile.am: Likewise.
* gettext-tools/examples/po/Makefile.am: Likewise.
* gettext-tools/examples/check-examples (func_check_dist_vpath): Verify the
stamp-po file does not exist in the build dir, except when using the older
Makefile.in.in infrastructure.

24 files changed:
gettext-runtime/po/Makefile.in.in
gettext-tools/examples/check-examples
gettext-tools/examples/hello-c++-qt/po/Makefile.am
gettext-tools/examples/hello-c++-wxwidgets/po/Makefile.am
gettext-tools/examples/hello-clisp/po/Makefile.am
gettext-tools/examples/hello-csharp-forms/po/Makefile.am
gettext-tools/examples/hello-csharp/po/Makefile.am
gettext-tools/examples/hello-gawk/po/Makefile.am
gettext-tools/examples/hello-guile/po/Makefile.am
gettext-tools/examples/hello-java-awt/po/Makefile.am
gettext-tools/examples/hello-java-qtjambi/po/Makefile.am
gettext-tools/examples/hello-java-swing/po/Makefile.am
gettext-tools/examples/hello-java/po/Makefile.am
gettext-tools/examples/hello-librep/po/Makefile.am
gettext-tools/examples/hello-pascal/po/Makefile.am
gettext-tools/examples/hello-perl/po/Makefile.am
gettext-tools/examples/hello-php/po/Makefile.am
gettext-tools/examples/hello-python/po/Makefile.am
gettext-tools/examples/hello-sh/po/Makefile.am
gettext-tools/examples/hello-smalltalk/po/Makefile.am
gettext-tools/examples/hello-tcl-tk/po/Makefile.am
gettext-tools/examples/hello-tcl/po/Makefile.am
gettext-tools/examples/hello-ycp/po/Makefile.am
gettext-tools/examples/po/Makefile.am

index 77d78cd591851f6fc33756626773d6d55fdce4d1..332b2d9f336fa958f15ff930bc5856bb1bad777a 100644 (file)
@@ -105,7 +105,7 @@ DISTFILESDEPS = $(DISTFILESDEPS_$(DIST_DEPENDS_ON_UPDATE_PO))
 
 all: all-@USE_NLS@
 
-all-yes: stamp-po
+all-yes: $(srcdir)/stamp-po
 all-no:
 
 # Ensure that the gettext macros and this Makefile.in.in are in sync.
@@ -119,24 +119,24 @@ CHECK_MACRO_VERSION = \
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        @$(CHECK_MACRO_VERSION)
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -371,7 +371,7 @@ install-dvi install-ps install-pdf install-html:
 
 mostlyclean:
        rm -f remove-potcdate.sed
-       rm -f stamp-poT
+       rm -f $(srcdir)/stamp-poT
        rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
        rm -fr *.o
 
@@ -383,14 +383,14 @@ distclean: clean
 maintainer-clean: distclean
        @echo "This command is intended for maintainers to use;"
        @echo "it deletes files that may require special tools to rebuild."
-       rm -f $(srcdir)/$(DOMAIN).pot stamp-po $(GMOFILES)
+       rm -f $(srcdir)/$(DOMAIN).pot $(srcdir)/stamp-po $(GMOFILES)
 
 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 dist distdir:
        test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS)
        @$(MAKE) dist2
 # This is a separate target because 'update-po' must be executed before.
-dist2: stamp-po $(DISTFILES)
+dist2: $(srcdir)/stamp-po $(DISTFILES)
        dists="$(DISTFILES)"; \
        if test "$(PACKAGE)" = "gettext-tools"; then \
          dists="$$dists Makevars.template"; \
index 406edf37e11a43cfdb506793a26465adac632dc9..d3cfc24ab3fb780127cf2ede596445f63b1c9d31 100755 (executable)
@@ -477,8 +477,8 @@ func_check_dist_vpath ()
             rm -rf "$sample/autom4te.cache"
             if test -f "$sample/build/$sample-0.tar.gz"; then
               (cd "$sample"/build && tar xfz "$sample-0.tar.gz")
-              # TODO: Remove stamp-po workaround.
-              LC_ALL=C diff -r -q "$sample" "$sample/build/$sample-0" | grep -v "^Only in $sample: build$" | grep -v "^Only in $sample: BUGS$" | grep -v "^Only in $sample/build/$sample-0/po: stamp-po$" > "$sample.out"
+              # TODO: Remove stamp-po workaround after next release.
+              LC_ALL=C diff -r -q "$sample" "$sample/build/$sample-0" | grep -v "^Only in $sample: build$" | grep -v "^Only in $sample: BUGS$" | { if test -f "$sample"/po/Makevars; then grep -v "^Only in $sample/build/$sample-0/po: stamp-po$"; else cat; fi; } > "$sample.out"
             else
               echo "$sample-0.tar.gz was not created" > "$sample.out"
             fi
index 6a73ec55c7b009e1964d42f78c44ad741c74e23d..c0f195e557298ca56012698eb81a06cb648e409b 100644 (file)
@@ -102,30 +102,30 @@ SUFFIXES = .po .qm .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(QMFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(QMFILES)" || $(MAKE) $(QMFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -270,7 +270,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(QMFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index 9725c79837cbc5dbac5b029cb8e309606e15208a..558ed2a303e6ebaaca3fe3ff10be4daa095c2f56 100644 (file)
@@ -105,30 +105,30 @@ SUFFIXES = .po .gmo .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -335,7 +335,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index 06c654946ba6548ee0f8a883e0af32f9aba90a03..d1955fb2be74d4db619bab4b339862a552811acf 100644 (file)
@@ -99,30 +99,30 @@ SUFFIXES = .po .gmo .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -329,7 +329,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index c89ac0e7b804c080be0ccded3bd264c093fe9a94..02921ca4971e199a3ef48dc46db50f0666434b4d 100644 (file)
@@ -91,30 +91,30 @@ SUFFIXES = .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(RESOURCESDLLFILES) are
-# empty. In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# empty. In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(RESOURCESDLLFILES)" || $(MAKE) $(RESOURCESDLLFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -269,7 +269,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(RESOURCESDLLFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index c89ac0e7b804c080be0ccded3bd264c093fe9a94..02921ca4971e199a3ef48dc46db50f0666434b4d 100644 (file)
@@ -91,30 +91,30 @@ SUFFIXES = .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(RESOURCESDLLFILES) are
-# empty. In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# empty. In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(RESOURCESDLLFILES)" || $(MAKE) $(RESOURCESDLLFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -269,7 +269,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(RESOURCESDLLFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index 239e83accfbd43c23874e29d4ab7b68155d55ef4..db6b258732c2ca1bc748d58a33f6c257a5b728ee 100644 (file)
@@ -99,30 +99,30 @@ SUFFIXES = .po .gmo .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -329,7 +329,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index ab2971632fd9f3860c3f00eb3153aceed7f15092..b60d3c75133a7332238c829567f16071729cb957 100644 (file)
@@ -99,30 +99,30 @@ SUFFIXES = .po .gmo .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -329,7 +329,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index d4937f1817938065bb485dda32a802b3afe6b181..f26518e1a834c49bb203bf54f0db6b04d42049e7 100644 (file)
@@ -90,29 +90,29 @@ SUFFIXES = .po .sed .sin .nop .po-create .po-update
        mv t-$@ $@
 
 
-all-local: stamp-po
+all-local: $(srcdir)/stamp-po
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(PROPERTIESFILES) are
-# empty. In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# empty. In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          $(MAKE) update-properties
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -232,7 +232,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(DOMAIN).properties $(PROPE
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index d4937f1817938065bb485dda32a802b3afe6b181..f26518e1a834c49bb203bf54f0db6b04d42049e7 100644 (file)
@@ -90,29 +90,29 @@ SUFFIXES = .po .sed .sin .nop .po-create .po-update
        mv t-$@ $@
 
 
-all-local: stamp-po
+all-local: $(srcdir)/stamp-po
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(PROPERTIESFILES) are
-# empty. In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# empty. In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          $(MAKE) update-properties
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -232,7 +232,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(DOMAIN).properties $(PROPE
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index d4937f1817938065bb485dda32a802b3afe6b181..f26518e1a834c49bb203bf54f0db6b04d42049e7 100644 (file)
@@ -90,29 +90,29 @@ SUFFIXES = .po .sed .sin .nop .po-create .po-update
        mv t-$@ $@
 
 
-all-local: stamp-po
+all-local: $(srcdir)/stamp-po
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(PROPERTIESFILES) are
-# empty. In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# empty. In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          $(MAKE) update-properties
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -232,7 +232,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(DOMAIN).properties $(PROPE
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index d4937f1817938065bb485dda32a802b3afe6b181..f26518e1a834c49bb203bf54f0db6b04d42049e7 100644 (file)
@@ -90,29 +90,29 @@ SUFFIXES = .po .sed .sin .nop .po-create .po-update
        mv t-$@ $@
 
 
-all-local: stamp-po
+all-local: $(srcdir)/stamp-po
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(PROPERTIESFILES) are
-# empty. In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# empty. In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          $(MAKE) update-properties
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -232,7 +232,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(DOMAIN).properties $(PROPE
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index bceb8fc832f7afae5f730bc6b93bbba051399980..d59a4b96063af6e26f1babc59d6cd2c5c5b8eae4 100644 (file)
@@ -99,30 +99,30 @@ SUFFIXES = .po .gmo .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -329,7 +329,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index 8d144f0f1f165f173e2e95889dcfadf6e923e8c0..e34b6149b9fe39a1615fa54590d16b74597d2226 100644 (file)
@@ -99,30 +99,30 @@ SUFFIXES = .po .gmo .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -329,7 +329,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index 857f3c4c698afa688f66c454d04bb46a4966026d..3231d8c2d15f85366f060ac2c000024ed0383a50 100644 (file)
@@ -109,30 +109,30 @@ SUFFIXES = .po .gmo .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -339,7 +339,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index 87cf2a53f13734ffe1ab3817b33bcc785becf446..c8e15586104991f8f6a09c31093584842ddbd77c 100644 (file)
@@ -99,30 +99,30 @@ SUFFIXES = .po .gmo .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -329,7 +329,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index 22b27e81514cfdfa6845341076808d59d1818595..b1bfdbff3cbafb3a53f149729b4a3ac146295b5f 100644 (file)
@@ -99,30 +99,30 @@ SUFFIXES = .po .gmo .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -329,7 +329,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index b70e8d6d8448e030926a4722d7626c41a3747144..3251cf0471f4b3f236e0bbcfbfbab9445730eb56 100644 (file)
@@ -99,30 +99,30 @@ SUFFIXES = .po .gmo .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -329,7 +329,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index 51428b0414a9c47c5eb3ec864e6b8cd46498d9f2..46269cfee52354db5d5977bd072f8846acaf2d44 100644 (file)
@@ -99,30 +99,30 @@ SUFFIXES = .po .gmo .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -329,7 +329,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index 7abdeb52e8896030376318db6a8419b5f6d48bc8..69ca0279f49f2d0b965256f67300b9e7835f4614 100644 (file)
@@ -89,30 +89,30 @@ SUFFIXES = .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(MSGFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(MSGFILES)" || $(MAKE) $(MSGFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -257,7 +257,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(MSGFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index 7abdeb52e8896030376318db6a8419b5f6d48bc8..69ca0279f49f2d0b965256f67300b9e7835f4614 100644 (file)
@@ -89,30 +89,30 @@ SUFFIXES = .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(MSGFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(MSGFILES)" || $(MAKE) $(MSGFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -257,7 +257,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(MSGFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index 270388b822e66675a857b231ad73e070dc7e5578..89c4da989b00e0f0a068199c4bdf0ec52d07b9bb 100644 (file)
@@ -99,30 +99,30 @@ SUFFIXES = .po .gmo .sed .sin .nop .po-create .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
-# In this case, stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        test ! -f $(srcdir)/$(DOMAIN).pot || \
          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
@@ -329,7 +329,7 @@ EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
 #distdir: distdir1
 distdir1:
        $(MAKE) update-po
-       $(MAKE) stamp-po
+       $(MAKE) $(srcdir)/stamp-po
        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; \
index 82d0bccd8f417a0d4c3a02bb18c67776f7678f03..8855c4c079930d5c1fb33bed07ff1cc929f51459 100644 (file)
@@ -159,28 +159,28 @@ SUFFIXES = .po .sed .sin .nop .po-update
 
 all-local: all-local-@USE_NLS@
 
-all-local-yes: stamp-po
+all-local-yes: $(srcdir)/stamp-po
 all-local-no:
 
 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
 # we don't want to bother translators with empty POT files). We assume that
 # LINGUAS is empty in this case, i.e. $(POFILES) is empty. In this case,
-# stamp-po is a nop (i.e. a phony target).
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
+# $(srcdir)/stamp-po is a nop (i.e. a phony target).
+
+# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS
+# have been loosely updated. Its purpose is that when a developer or translator
+# checks out the package from a version control system, and the $(DOMAIN).pot
+# file is not under version control, "make" will update the $(DOMAIN).pot and
+# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This
+# timestamp would not be necessary if updating the $(CATALOGS) would always
+# touch them; however, the rule for $(POFILES) has been designed to not touch
+# files that don't need to be changed.
+$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot
        @test ! -f $(srcdir)/$(DOMAIN).pot || { \
-         echo "touch stamp-po" && \
-         echo timestamp > stamp-poT && \
-         mv stamp-poT stamp-po; \
+         echo "touch $(srcdir)/stamp-po" && \
+         echo timestamp > $(srcdir)/stamp-poT && \
+         mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \
        }
 
 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',