r1446 - branches/udev_update/packages/shadow

alexander at linuxfromscratch.org alexander at linuxfromscratch.org
Mon Mar 20 22:01:55 PST 2006


Author: alexander
Date: 2006-03-20 23:01:54 -0700 (Mon, 20 Mar 2006)
New Revision: 1446

Added:
   branches/udev_update/packages/shadow/convert-mans
Modified:
   branches/udev_update/packages/shadow/Makefile
Log:
Fixed encoding of shadow manual pages

Modified: branches/udev_update/packages/shadow/Makefile
===================================================================
--- branches/udev_update/packages/shadow/Makefile	2006-03-06 17:31:10 UTC (rev 1445)
+++ branches/udev_update/packages/shadow/Makefile	2006-03-21 06:01:54 UTC (rev 1446)
@@ -30,6 +30,22 @@
 	sed -i 's/groups$$(EXEEXT) //' src/Makefile
 	find man -name Makefile -exec sed -i '/groups/d' {} \;
 	sed -i -e 's/ ko//' -e 's/ zh_CN zh_TW//' man/Makefile
+	../convert-mans UTF-8 ISO-8859-2 man/cs/*.?
+	../convert-mans UTF-8 ISO-8859-1 man/de/*.?
+	../convert-mans UTF-8 ISO-8859-1 man/es/*.?
+	../convert-mans UTF-8 ISO-8859-1 man/fi/*.?
+	../convert-mans UTF-8 ISO-8859-1 man/fr/*.?
+	../convert-mans UTF-8 ISO-8859-2 man/hu/*.?
+	../convert-mans UTF-8 ISO-8859-1 man/id/*.?
+	../convert-mans UTF-8 ISO-8859-1 man/it/*.?
+	../convert-mans UTF-8 EUC-JP man/ja/*.?
+	# ../convert-mans UTF-8 EUC-KR man/ko/*.?
+	../convert-mans UTF-8 ISO-8859-2 man/pl/*.?
+	../convert-mans UTF-8 ISO-8859-1 man/pt_BR/*.?
+	../convert-mans UTF-8 KOI8-R man/ru/*.?
+	../convert-mans UTF-8 ISO-8859-9 man/tr/*.?
+	# ../convert-mans UTF-8 GB2312 man/zh_CN/*.?
+	# ../convert-mans UTF-8 BIG5 man/zh_TW/*.?
 	make $(PM)
 	make install
 	cp etc/{limits,login.access} /etc

Added: branches/udev_update/packages/shadow/convert-mans
===================================================================
--- branches/udev_update/packages/shadow/convert-mans	                        (rev 0)
+++ branches/udev_update/packages/shadow/convert-mans	2006-03-21 06:01:54 UTC (rev 1446)
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+FROM="$1"
+TO="$2"
+shift ; shift
+while [ $# -gt 0 ]
+do
+	FILE="$1"
+	shift
+	iconv -f "$FROM" -t "$TO" "$FILE" >.tmp.iconv
+	mv .tmp.iconv "$FILE"
+done


Property changes on: branches/udev_update/packages/shadow/convert-mans
___________________________________________________________________
Name: svn:executable
   + *




More information about the livecd mailing list