From ad47778b8478e7a2b8863b77df3537db43fe95ae Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Tue, 12 Dec 2006 13:34:36 +0100 Subject: [PATCH] put dist targets in podir-vars.make. Fixes distcheck for Documentation/po/ --- Documentation/po/GNUmakefile | 5 ----- po/GNUmakefile | 11 +++-------- stepmake/stepmake/podir-vars.make | 10 ++++++++++ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Documentation/po/GNUmakefile b/Documentation/po/GNUmakefile index a0a33b15d6..23939296d0 100644 --- a/Documentation/po/GNUmakefile +++ b/Documentation/po/GNUmakefile @@ -1,10 +1,5 @@ depth = ../.. -POT_FILES = $(call src-wildcard,*.pot) -PO_FILES = $(call src-wildcard,*.po) -MO_FILES = $(addprefix $(outdir)/, $(PO_FILES:.po=.mo)) -HELP_CATALOGS = $(PO_FILES:%.po=%) -CATALOGS = $(HELP_CATALOGS:$(DOMAIN)=) STEPMAKE_TEMPLATES=podir include $(depth)/make/stepmake.make diff --git a/po/GNUmakefile b/po/GNUmakefile index a9b8f72c5d..c277ee920c 100644 --- a/po/GNUmakefile +++ b/po/GNUmakefile @@ -5,14 +5,9 @@ depth = .. NAME = lilypond MODULE_NAME = po - -POT_FILES = $(call src-wildcard,*.pot) -PO_FILES = $(call src-wildcard,*.po) -MO_FILES = $(addprefix $(outdir)/, $(PO_FILES:.po=.mo)) -HELP_CATALOGS = $(PO_FILES:%.po=%) -CATALOGS = $(HELP_CATALOGS:lilypond=) -EXTRA_DIST_FILES = TODO $(PO_FILES) $(POT_FILES) -STEPMAKE_TEMPLATES=podir +DOMAIN = $(NAME) +EXTRA_DIST_FILES = TODO +STEPMAKE_TEMPLATES=podir include $(depth)/make/stepmake.make diff --git a/stepmake/stepmake/podir-vars.make b/stepmake/stepmake/podir-vars.make index 1bb8bf6d7f..b8e53f4b2c 100644 --- a/stepmake/stepmake/podir-vars.make +++ b/stepmake/stepmake/podir-vars.make @@ -1 +1,11 @@ # empty + +POT_FILES = $(call src-wildcard,*.pot) +PO_FILES = $(call src-wildcard,*.po) +MO_FILES = $(addprefix $(outdir)/, $(PO_FILES:.po=.mo)) + +HELP_CATALOGS = $(PO_FILES:%.po=%) +CATALOGS = $(HELP_CATALOGS:$(DOMAIN)=) + +DIST_FILES += $(POT_FILES) $(PO_FILES) + -- 2.39.5