[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
www/server/gnun GNUmakefile
From: |
Yavor Doganov |
Subject: |
www/server/gnun GNUmakefile |
Date: |
Sun, 15 Jun 2008 08:18:00 +0000 |
CVSROOT: /web/www
Module name: www
Changes by: Yavor Doganov <yavor> 08/06/15 08:18:00
Modified files:
server/gnun : GNUmakefile
Log message:
Fix a bug in the templates POT generation.
(template-pots): New variable. Print its value in
the VERBOSE conditional.
(all): Depend on $(template-pots).
CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/gnun/GNUmakefile?cvsroot=www&r1=1.2&r2=1.3
Patches:
Index: GNUmakefile
===================================================================
RCS file: /web/www/www/server/gnun/GNUmakefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- GNUmakefile 13 Jun 2008 15:11:53 -0000 1.2
+++ GNUmakefile 15 Jun 2008 08:17:29 -0000 1.3
@@ -76,10 +76,13 @@
template-files := banner \
footer-text
template-translated-base := $(addprefix $(template-dir)/,$(template-files))
+template-pots := $(addsuffix .pot, \
+ $(addprefix $(template-dir)/po/,$(template-files)))
template-lang = $(addsuffix .$(1).html,$(template-translated-base))
template-translated := $(foreach t-lang,$(TEMPLATE_LINGUAS), \
$(call template-lang,$(t-lang)))
ifeq ($(VERBOSE),yes)
+$(info template-pots = $(template-pots))
$(info template-translated = $(template-translated))
endif
### End of variables declaration (templates) ###
@@ -126,8 +129,8 @@
### End of variables declaration (all articles) ###
.PHONY: all vcs-add-always
-all: $(template-translated) $(gnunews) $(home-translated) $(ALL_POTS) \
- $(articles-translated) vcs-add-always
+all: $(template-pots) $(template-translated) $(gnunews) $(home-translated) \
+ $(ALL_POTS) $(articles-translated) vcs-add-always
# The command to add a file to the repository.
define addfile