Fix tokentpl.txt generation

This commit is contained in:
Stas Degteff 2005-10-02 11:58:59 +00:00
parent b7fa58d0b5
commit 694e568d82

View File

@ -26,8 +26,8 @@ clean:
tokentpl.txt: ../golded3/gemsgs.cpp tokentpl.txt: ../golded3/gemsgs.cpp
echo '* Golded+ macroses list.' > $@ echo '* Golded+ macroses list.' > $@
echo '* These macroses may be used in:' > $@ echo '* These macroses may be used in:' >> $@
echo '* template file, externutil command line, tearline and tagline.' > $@ echo '* template file, externutil command line, tearline and tagline.' >> $@
echo '==========================================================================' >> $@ echo '==========================================================================' >> $@
grep tokenxchg $< | sed -e '/^static bool tokenxchg/d' -e 's/^.*"\(@\w*\)".*$$/\1/' | sort -u >> $@ grep tokenxchg $< | sed -e '/^static bool tokenxchg/d' -e 's/^.*"\(@\w*\)".*$$/\1/' | sort -u >> $@