Mercurial > p > roundup > code
comparison doc/Makefile @ 8274:c3bf229d3d4b
doc: update tracker_config.txt
Every generation of tracker_config.txt also changes the secret_key
value. To prevent this from showing up in diffs, modify
format_config.awk to use a static value for the secret_key and
substitute it into the config file.
Also update Makefile so tracker_config.txt depends on
format_config.awk.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 12 Jan 2025 20:13:36 -0500 |
| parents | 8824c81cc431 |
| children |
comparison
equal
deleted
inserted
replaced
| 8273:e7062c6efabf | 8274:c3bf229d3d4b |
|---|---|
| 1 ##@ Default target | 1 ##@ Default target |
| 2 all: man_html tracker_config.txt admin_help.html ## make all docs under share | 2 all: man_html tracker_config.txt admin_help.html ## make all docs under share |
| 3 cd ..; ./setup.py build_doc | 3 cd ..; ./setup.py build_doc |
| 4 | 4 |
| 5 ##@ build doc parts | 5 ##@ build doc parts |
| 6 tracker_config.txt: ../roundup/configuration.py ## generate a current config file | 6 tracker_config.txt: ../roundup/configuration.py format_config.awk ## generate a current config file |
| 7 | 7 |
| 8 python3 ../roundup/scripts/roundup_admin.py \ | 8 python3 ../roundup/scripts/roundup_admin.py \ |
| 9 genconfig _temp_config.txt | 9 genconfig _temp_config.txt |
| 10 | 10 |
| 11 awk -f format_config.awk _temp_config.txt | \ | 11 awk -f format_config.awk _temp_config.txt | \ |
