git://git.jankratochvil.net
/
macros.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
'po' files can now also silently change their comment lines
[macros.git]
/
AutoGen.pm
diff --git
a/AutoGen.pm
b/AutoGen.pm
index
d5c3822
..
5075ee6
100644
(file)
--- a/
AutoGen.pm
+++ b/
AutoGen.pm
@@
-201,7
+201,7
@@
sub _cleanfiles
Makefile Makefile.in
TAGS tags ID
.deps .libs
Makefile Makefile.in
TAGS tags ID
.deps .libs
- *.[oa] *.l[oa]
+ *.[oa] *.l[oa]
*.l[oa]T
.cvsignore
./errs*
.cvsignore
./errs*
@@
-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;>