diff options
Diffstat (limited to 'MakeTAGS')
-rw-r--r-- | MakeTAGS | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -162,10 +162,13 @@ $P/subdirs.pot: $(subdirs:%=$P/%.pot) do sed "s%^#: %&$$d/%" $P/$$d.pot; done) > $@.new mv -f $@.new $@ +# Get $(version) defined. +include $(common-objpfx)version.mk + # Combine all the messages into the final sorted template translation file. $P/SYS_libc.pot: $(all-pot) @rm -f $@.new - sed -e 's/VERSION/$(version)/' -e "s/DATE/`date +'%Y-%m-%d %k:%M'`" \ + sed -e 's/VERSION/$(version)/' -e "s/DATE/`date +'%Y-%m-%d %k:%M'`/" \ po/header.pot > $@.new $(XGETTEXT) -d - -n -s --omit-header $^ >> $@.new mv -f $@.new $@ |