[Pkg-isocodes-devel] r1315 - in trunk/iso-codes: iso_15924 iso_3166 iso_3166/iso_3166_2 iso_4217 iso_639 iso_639/iso_639_3

toddy-guest at alioth.debian.org toddy-guest at alioth.debian.org
Wed Jan 23 17:29:51 UTC 2008


Author: toddy-guest
Date: 2008-01-23 17:29:51 +0000 (Wed, 23 Jan 2008)
New Revision: 1315

Modified:
   trunk/iso-codes/iso_15924/Makefile.in
   trunk/iso-codes/iso_3166/Makefile.in
   trunk/iso-codes/iso_3166/iso_3166_2/Makefile.in
   trunk/iso-codes/iso_4217/Makefile.in
   trunk/iso-codes/iso_639/Makefile.in
   trunk/iso-codes/iso_639/iso_639_3/Makefile.in
Log:
Update generated files

Modified: trunk/iso-codes/iso_15924/Makefile.in
===================================================================
--- trunk/iso-codes/iso_15924/Makefile.in	2008-01-23 17:26:49 UTC (rev 1314)
+++ trunk/iso-codes/iso_15924/Makefile.in	2008-01-23 17:29:51 UTC (rev 1315)
@@ -350,12 +350,17 @@
 		false; \
 	fi
 
+# This target merges all po files with the current pot file,
+# removes obsolete msgids and substitutes the Project-Id-Version
+# header with the correct value
 .PHONY: update-po
 update-po:
 	for pofile in $(pofiles); do \
 		$(MSGMERGE) $$pofile $(DOMAIN).pot > tmpfile; \
-		mv tmpfile $$pofile; \
+		msgattrib --no-obsolete tmpfile > $$pofile; \
+		sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN) $(VERSION)\\n\"/' $$pofile; \
 	done
+	rm -f tmpfile
 
 install-data-hook: $(mofiles)
 	$(mkinstalldirs) $(DESTDIR)$(datadir)

Modified: trunk/iso-codes/iso_3166/Makefile.in
===================================================================
--- trunk/iso-codes/iso_3166/Makefile.in	2008-01-23 17:26:49 UTC (rev 1314)
+++ trunk/iso-codes/iso_3166/Makefile.in	2008-01-23 17:29:51 UTC (rev 1315)
@@ -537,12 +537,17 @@
 		false; \
 	fi
 
+# This target merges all po files with the current pot file,
+# removes obsolete msgids and substitutes the Project-Id-Version
+# header with the correct value
 .PHONY: update-po
 update-po:
 	for pofile in $(pofiles); do \
 		$(MSGMERGE) $$pofile $(DOMAIN).pot > tmpfile; \
-		mv tmpfile $$pofile; \
+		msgattrib --no-obsolete tmpfile > $$pofile; \
+		sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN) $(VERSION)\\n\"/' $$pofile; \
 	done
+	rm -f tmpfile
 
 install-data-hook: $(mofiles)
 	$(mkinstalldirs) $(DESTDIR)$(datadir)

Modified: trunk/iso-codes/iso_3166/iso_3166_2/Makefile.in
===================================================================
--- trunk/iso-codes/iso_3166/iso_3166_2/Makefile.in	2008-01-23 17:26:49 UTC (rev 1314)
+++ trunk/iso-codes/iso_3166/iso_3166_2/Makefile.in	2008-01-23 17:29:51 UTC (rev 1315)
@@ -350,12 +350,17 @@
 		false; \
 	fi
 
+# This target merges all po files with the current pot file,
+# removes obsolete msgids and substitutes the Project-Id-Version
+# header with the correct value
 .PHONY: update-po
 update-po:
 	for pofile in $(pofiles); do \
 		$(MSGMERGE) $$pofile $(DOMAIN).pot > tmpfile; \
-		mv tmpfile $$pofile; \
+		msgattrib --no-obsolete tmpfile > $$pofile; \
+		sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN) $(VERSION)\\n\"/' $$pofile; \
 	done
+	rm -f tmpfile
 
 install-data-hook: $(mofiles)
 	$(mkinstalldirs) $(DESTDIR)$(datadir)

Modified: trunk/iso-codes/iso_4217/Makefile.in
===================================================================
--- trunk/iso-codes/iso_4217/Makefile.in	2008-01-23 17:26:49 UTC (rev 1314)
+++ trunk/iso-codes/iso_4217/Makefile.in	2008-01-23 17:29:51 UTC (rev 1315)
@@ -350,12 +350,17 @@
 		false; \
 	fi
 
+# This target merges all po files with the current pot file,
+# removes obsolete msgids and substitutes the Project-Id-Version
+# header with the correct value
 .PHONY: update-po
 update-po:
 	for pofile in $(pofiles); do \
 		$(MSGMERGE) $$pofile $(DOMAIN).pot > tmpfile; \
-		mv tmpfile $$pofile; \
+		msgattrib --no-obsolete tmpfile > $$pofile; \
+		sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN) $(VERSION)\\n\"/' $$pofile; \
 	done
+	rm -f tmpfile
 
 install-data-hook: $(mofiles)
 	$(mkinstalldirs) $(DESTDIR)$(datadir)

Modified: trunk/iso-codes/iso_639/Makefile.in
===================================================================
--- trunk/iso-codes/iso_639/Makefile.in	2008-01-23 17:26:49 UTC (rev 1314)
+++ trunk/iso-codes/iso_639/Makefile.in	2008-01-23 17:29:51 UTC (rev 1315)
@@ -540,12 +540,17 @@
 		false; \
 	fi
 
+# This target merges all po files with the current pot file,
+# removes obsolete msgids and substitutes the Project-Id-Version
+# header with the correct value
 .PHONY: update-po
 update-po:
 	for pofile in $(pofiles); do \
 		$(MSGMERGE) $$pofile $(DOMAIN).pot > tmpfile; \
-		mv tmpfile $$pofile; \
+		msgattrib --no-obsolete tmpfile > $$pofile; \
+		sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN) $(VERSION)\\n\"/' $$pofile; \
 	done
+	rm -f tmpfile
 
 install-data-hook: $(mofiles)
 	$(mkinstalldirs) $(DESTDIR)$(datadir)

Modified: trunk/iso-codes/iso_639/iso_639_3/Makefile.in
===================================================================
--- trunk/iso-codes/iso_639/iso_639_3/Makefile.in	2008-01-23 17:26:49 UTC (rev 1314)
+++ trunk/iso-codes/iso_639/iso_639_3/Makefile.in	2008-01-23 17:29:51 UTC (rev 1315)
@@ -350,12 +350,17 @@
 		false; \
 	fi
 
+# This target merges all po files with the current pot file,
+# removes obsolete msgids and substitutes the Project-Id-Version
+# header with the correct value
 .PHONY: update-po
 update-po:
 	for pofile in $(pofiles); do \
 		$(MSGMERGE) $$pofile $(DOMAIN).pot > tmpfile; \
-		mv tmpfile $$pofile; \
+		msgattrib --no-obsolete tmpfile > $$pofile; \
+		sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN) $(VERSION)\\n\"/' $$pofile; \
 	done
+	rm -f tmpfile
 
 install-data-hook: $(mofiles)
 	$(mkinstalldirs) $(DESTDIR)$(datadir)




More information about the Pkg-isocodes-devel mailing list