[Gpg4win-commits] r255 - trunk/doc/website

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Apr 5 01:51:18 CEST 2006


Author: jan
Date: 2006-04-05 01:51:18 +0200 (Wed, 05 Apr 2006)
New Revision: 255

Modified:
   trunk/doc/website/build-history.awk
   trunk/doc/website/buildhtml.mk
Log:
Recoded awk script to latin1 and improved and translated a string.
Added creation of change-history files to build procedure.


Modified: trunk/doc/website/build-history.awk
===================================================================
--- trunk/doc/website/build-history.awk	2006-04-04 22:49:37 UTC (rev 254)
+++ trunk/doc/website/build-history.awk	2006-04-04 23:51:18 UTC (rev 255)
@@ -67,10 +67,10 @@
     "m4_define(`DE')\n" \
     "m4_define(`DE_FILE', `change-history-de.html')\n" \
     "PAGE_START\n" \
-    "<h1>Änderungshistorie von gpg4win</h1>\n";
+    "<h1>Änderungshistorie von gpg4win</h1>\n";
 
   release_text["en"] = "released ";
-  release_text["de"] = "veröffentlicht ";
+  release_text["de"] = "veröffentlicht ";
 
   print header_text[lang];
 }
@@ -98,7 +98,10 @@
     sub (/\).*$/, "");
     reldate = $0;
   } else {
-    reldate = "unreleased";
+    if (lang == "en")
+      reldate = "[ in progress; not yet released ]";
+    if (lang == "de")
+      reldate = "[ in Arbeit; bisher noch nicht veröffentlicht ]";
   }
   in_section = 1;
   in_para = 0;

Modified: trunk/doc/website/buildhtml.mk
===================================================================
--- trunk/doc/website/buildhtml.mk	2006-04-04 22:49:37 UTC (rev 254)
+++ trunk/doc/website/buildhtml.mk	2006-04-04 23:51:18 UTC (rev 255)
@@ -11,7 +11,7 @@
 PPFLAGS = --prefix-builtins
 
 # Build configuration
-TARGETS = $(patsubst %.htm4,%.html,$(wildcard *.htm4))
+TARGETS = $(patsubst %.htm4,%.html,$(wildcard *.htm4)) change-history.html change-history-de.html
 SUBDIRS = 
 
 # Installation configuration
@@ -38,6 +38,12 @@
 	  $(MAKE) -C $$dir SUBDIRS="" ; \
 	done
 
+change-history.htm4: build-history.awk ../../NEWS
+	recode utf8..latin1 < ../../NEWS | awk -f build-history.awk > $@
+
+change-history-de.htm4: build-history.awk ../../NEWS
+	recode utf8..latin1 < ../../NEWS | awk -f build-history.awk -v lang=de > $@
+
 online: all
 	echo "Going to put current contents online for www.gpg4win.org ..."
 	rsync -urvP --exclude='.svn' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \



More information about the Gpg4win-commits mailing list