Fix tokencfg.txt and tokentpl.txt genegation

This commit is contained in:
Stas Degteff 2005-10-02 11:47:48 +00:00
parent ff570df247
commit 3ba796c5fb

View File

@ -25,13 +25,15 @@ clean:
-rm $(HTMLS) $(TXTS)
tokentpl.txt: ../golded3/gemsgs.cpp
echo '* Golded+ template file and externutil comand line tokens list.' > $@
echo '* $$Id$$' >> $@
echo '* Golded+ macroses list.' > $@
echo '* These macroses may be used in:' > $@
echo '* template file, externutil command line, tearline and tagline.' > $@
echo '* \$$Id$$' >> $@
echo '==========================================================================' >> $@
grep tokenxchg $< | sed -e '/^static bool tokenxchg/d' -e 's/^.*"\(@\w*\)".*$$/\1/' | sort -u >> $@
tokencfg.txt: ../golded3/gccfgg.h
@echo '* Golded+ config file tokens list.' > $@
@echo '* $$Id$$' >> $@
@echo '* \$$Id$$' >> $@
@echo '==========================================================================' >> $@
grep CRC_ $< | sed -e '/CRC_LAST_CRC/d' -e 's/^.* CRC_\(\w*\).*$$/\1/' | sort -u >> $@