'po' files can now also silently change their comment lines
[macros.git] / AutoGen.pm
index 4f2fd1f..5075ee6 100644 (file)
@@ -411,6 +411,7 @@ my($class,%options)=@_;
                                                                                                        .q< -e '1,/^@@.*@@$$/d'>
                                                                                                        .q< -e '/^[+-]"POT-Creation-Date:/d'>
                                                                                                        .q< -e '/^[^+-]/d'>
                                                                                                        .q< -e '1,/^@@.*@@$$/d'>
                                                                                                        .q< -e '/^[+-]"POT-Creation-Date:/d'>
                                                                                                        .q< -e '/^[^+-]/d'>
+                                                                                                       .q< -e '/^[+-]#/d'>
                                                                                        .q< | wc -l` -eq 0;then>
                                                                        .q< touch --reference=$${lang}.po $${lang}.po~;>
                                                                                        .q< mv -f $${lang}.po~ $${lang}.po;>
                                                                                        .q< | wc -l` -eq 0;then>
                                                                        .q< touch --reference=$${lang}.po $${lang}.po~;>
                                                                                        .q< mv -f $${lang}.po~ $${lang}.po;>