[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trans-coord/gnun/server/gnun GNUmakefile ChangeLog
From: |
Pavel Kharitonov |
Subject: |
trans-coord/gnun/server/gnun GNUmakefile ChangeLog |
Date: |
Fri, 28 Sep 2012 10:28:00 +0000 |
CVSROOT: /sources/trans-coord
Module name: trans-coord
Changes by: Pavel Kharitonov <ineiev> 12/09/28 10:28:00
Modified files:
gnun/server/gnun: GNUmakefile ChangeLog
Log message:
(generate-proto): Recognize the
`<span class="gnun-split">' tag when the space is replaced
with a line break. Reported by Therese Godefroy.
(TEAM-HTMLS, report-pos): Fix sed expressions.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.138&r2=1.139
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.293&r2=1.294
Patches:
Index: GNUmakefile
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -b -r1.138 -r1.139
--- GNUmakefile 27 Sep 2012 07:46:35 -0000 1.138
+++ GNUmakefile 28 Sep 2012 10:27:59 -0000 1.139
@@ -630,7 +630,8 @@
"[GNUN Error] Incompatible change in $(subst $(rootdir)/,,$<)" \
$(MAKE-PROTOTYPE) --home --input=$< --generic=generic.html --output=$@ \
|| ($(RM) $@ ; exit 1)
-$(SED) --in-place -e 's,<span class="gnun-split"></span>,<gnun></gnun>,' \
+$(SED) --in-place -e '/<span[[:space:]]*$$/{:egin;N; />[^\n]*$$/! begin};\
+s,<span[[:space:]]\+class="gnun-split"></span>,<gnun></gnun>,g' \
-e "s/\$$Date.*\$$/<gnun>\0<\/gnun>/g" $@
endef
@@ -1214,7 +1215,7 @@
TEAM-POS := $(sort $(filter %.${TEAM}.po,${ALL_POS}))
# UnGNUNified translations
TEAM-HTMLS := $(shell echo $(subst /po/,/,$(ALL_POTS:%.pot=%.$(TEAM).html)) \
- | $(SED) "s/[[:blank:]]\+/\n/g" \
+ | $(SED) "s/[[:space:]]\+/\n/g" \
| while read f; do \
po_base=$${f\#\#*/}; po_base=$${po_base%html}po; po_dir=$${f%/*}/po; \
test -f $$f && { test -f $$po_dir/$$po_base || echo $$f; } done)
@@ -1268,7 +1269,7 @@
for i in $(1); do \
echo -n "$${i#${rootdir}/}: "; \
LC_ALL=C $(MSGFMT) --statistics -o /dev/null $$i 2>&1 \
- | $(SED) ':egin;$$s/\n[[:blank:]]*/; /g;N;begin'; \
+ | $(SED) ':egin;$$s/\n[[:space:]]*/; /g;N;begin'; \
done | $(EGREP) '(fuzzy|untranslated)[^:]*$$' \
|| echo "All translations seem to be up-to-date."; $(if $(2), echo;) \
)\
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.293
retrieving revision 1.294
diff -u -b -r1.293 -r1.294
--- ChangeLog 27 Sep 2012 07:46:35 -0000 1.293
+++ ChangeLog 28 Sep 2012 10:27:59 -0000 1.294
@@ -1,3 +1,10 @@
+2012-09-28 Pavel Kharitonov <address@hidden>
+
+ * GNUmakefile (generate-proto): Recognize the
+ `<span class="gnun-split">' tag when the space is replaced
+ with a line break. Reported by Therese Godefroy.
+ (TEAM-HTMLS, report-pos): Fix sed expressions.
+
2012-09-27 Pavel Kharitonov <address@hidden>
Add an SSI variable expanding to the URL of the English page