Fix tokentpl.txt generation
This commit is contained in:
parent
b7fa58d0b5
commit
694e568d82
@ -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 >> $@
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user