[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trans-coord/gnun/server/gnun GNUmakefile Change...
From: |
Ineiev |
Subject: |
trans-coord/gnun/server/gnun GNUmakefile Change... |
Date: |
Wed, 14 Nov 2018 11:21:19 -0500 (EST) |
CVSROOT: /sources/trans-coord
Module name: trans-coord
Changes by: Ineiev <ineiev> 18/11/14 11:21:19
Modified files:
gnun/server/gnun: GNUmakefile ChangeLog NEWS
gnun/server/gnun/doc: gnun.texi
Log message:
Drop no-validate-articles (unused since 2011).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.191&r2=1.192
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.467&r2=1.468
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/NEWS?cvsroot=trans-coord&r1=1.132&r2=1.133
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/doc/gnun.texi?cvsroot=trans-coord&r1=1.109&r2=1.110
Patches:
Index: GNUmakefile
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -b -r1.191 -r1.192
--- GNUmakefile 14 Nov 2018 16:15:20 -0000 1.191
+++ GNUmakefile 14 Nov 2018 16:21:18 -0000 1.192
@@ -175,8 +175,6 @@
endif
### End of variables for sitemap
-no-validate-items := \
-$(addprefix $(rootdir)/,$(call transfer-to-po,$(no-validate-articles)))
### Special variables for all other articles ###
articles := $(foreach dir,$(ALL_DIRS),$(addprefix $(dir)/po/,$(value $(dir))))
articles-pot := $(addprefix $(rootdir)/,$(articles:%=%.pot))
@@ -814,10 +812,7 @@
### Rules for all other articles ###
define article-pot-rules
$(1).proto: $(subst /po/,/,$(1).html)
-# Skip the validation step if the article is in `no-validate-articles'.
-ifneq ($(1), $(findstring $(1),$(no-validate-items)))
$(VALIDATESKIP) $(VALIDATE-HTML-NOTIFY) $(NOTIFYSKIP) $(web-addr) $$<
-endif
test -f $(1).translist || $(call generate-translinks,$(1))
$(call update-translinks-include,$(1))
$$(generate-proto)
@@ -840,8 +835,7 @@
$(call generate-html,$(2),$(1).po${po-suffix},address@hidden); \
$(call insert-ssi-vars,address@hidden,$$@); \
$(call merge-empty-lines,address@hidden) \
-$(if $(findstring $(basename $(1)),$(no-validate-items)), , \
- && $(call validate-article,$(1)))
+ && $(call validate-article,$(1))
endef
define grace-is-over
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.467
retrieving revision 1.468
diff -u -b -r1.467 -r1.468
--- ChangeLog 14 Nov 2018 16:15:20 -0000 1.467
+++ ChangeLog 14 Nov 2018 16:21:18 -0000 1.468
@@ -1,6 +1,11 @@
2018-11-14 Pavel Kharitonov <address@hidden>
* GNUmakefile (vcs-add-always): Drop the target.
+ (no-validate-articles): Don't take into account (unused
+ since 2011).
+ * doc/gnun.texi (Runtime Variables): Drop description
+ of no-validate-articles.
+ * NEWS: Update.
2018-09-17 Pavel Kharitonov <address@hidden>
Index: NEWS
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/NEWS,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -b -r1.132 -r1.133
--- NEWS 17 Sep 2018 09:42:24 -0000 1.132
+++ NEWS 14 Nov 2018 16:21:18 -0000 1.133
@@ -2,6 +2,8 @@
* Changes in GNUnited Nations 0.12 (????-??-??)
+** no-validate-articles isn't supported any more.
+
** In `sort-linguas', Telugu was added.
** gnun-init-po fills the 'Language:' field of PO header.
Index: doc/gnun.texi
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/doc/gnun.texi,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -b -r1.109 -r1.110
--- doc/gnun.texi 18 Aug 2017 11:40:41 -0000 1.109
+++ doc/gnun.texi 14 Nov 2018 16:21:19 -0000 1.110
@@ -502,13 +502,6 @@
recommended to run the build this way, even if it is a bit tedious to
fix the errors that are reported as a result of enforcing validation.
-Articles defined in the variable @code{no-validate-articles} are never
-checked for HTML validity. Its purpose was to skip validation of HTML5
-articles, until the command-line validation tools are updated to
-parse files that comply with this new standard. As of version 0.5
-GNUN supports HTML5, so resorting to @code{no-validate-articles}
-should not be necessary.
-
This is the default, and not defining this variable has the same effect.
@cindex NOTIFY
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- trans-coord/gnun/server/gnun GNUmakefile Change...,
Ineiev <=