Changeset cb9a721 in osmose-backend


Ignore:
Timestamp:
May 2, 2014 8:21:19 PM (6 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
08444c0, c64755f
Parents:
6667947
Message:

Fix xgettext call to not modify header of .pot file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • po/Makefile

    r6667947 rcb9a721  
    88 
    99osmose-backend.pot: $(PYFILES) 
    10         LANG=C xgettext -cTRANSLATORS --language=Python --keyword=_ --keyword=N_ --keyword=T_ --force-po --output=$@.tmp $(PYFILES) 
    11         if test -e $@; then \ 
    12           diff -I ".*POT-Creation-Date:.*" $@ $@.tmp || cp $@.tmp $@; \ 
    13         else \ 
    14           cp $@.tmp $@; \ 
    15         fi; 
     10        LANG=C xgettext --join-existing -cTRANSLATORS --language=Python \ 
     11          --keyword=_ --keyword=N_ --keyword=T_ --force-po --omit-header \ 
     12          --output=$@ $(PYFILES) 
    1613 
    1714%.po: 
Note: See TracChangeset for help on using the changeset viewer.