--- wormux.bak/po/Makefile.am 2004-10-28 18:27:01.000000000 +0200 +++ wormux/po/Makefile.am 2004-10-29 19:55:13.000000000 +0200 @@ -23,7 +23,6 @@ src/gui/spin_button.cpp \ src/main.cpp \ src/graphic/animation.cpp \ - src/graphic/clipping.cpp \ src/graphic/convert.cpp \ src/graphic/font.cpp \ src/graphic/fps.cpp \ @@ -44,6 +43,7 @@ src/map/map.cpp \ src/map/maps_list.cpp \ src/map/sky.cpp \ + src/map/tile.cpp \ src/map/water.cpp \ src/map/wind.cpp \ src/menu/infos_menu.cpp \ @@ -156,7 +156,9 @@ # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. $(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed - $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + $(XGETTEXT) \ + -o $(DOMAIN).pot -k'_' -s --from-code iso-8859-1 \ + --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address='$(MSGID_BUGS_ADDRESS)' \ --- wormux.bak/po/remove-potcdate.sin 1970-01-01 01:00:00.000000000 +0100 +++ wormux/po/remove-potcdate.sin 2004-10-29 15:16:07.000000000 +0200 @@ -0,0 +1,19 @@ +# Sed script that remove the POT-Creation-Date line in the header entry +# from a POT file. +# +# The distinction between the first and the following occurrences of the +# pattern is achieved by looking at the hold space. +/^"POT-Creation-Date: .*"$/{ +x +# Test if the hold space is empty. +s/P/P/ +ta +# Yes it was empty. First occurrence. Remove the line. +g +d +bb +:a +# The hold space was nonempty. Following occurrences. Do nothing. +x +:b +}