5799 - move html-generation to `tools/` directory
This commit is contained in:
parent
25636f70d0
commit
9e45cae061
2
clean
2
clean
|
@ -7,6 +7,6 @@ rm -rf .until
|
|||
test $# -gt 0 && exit 0 # convenience: 'clean top-level' to leave subsidiary tools alone
|
||||
rm -rf tools/enumerate tangle/tangle tangle/*_list */*.dSYM
|
||||
rm -rf browse_trace/browse_trace_bin browse_trace/*_list
|
||||
rm -rf tools/treeshake
|
||||
rm -rf tools/treeshake tools/linkify tools/*.dSYM
|
||||
rm -rf tmp_linux mu_linux.iso outfs initrd.fat mu_soso.iso
|
||||
( cd kernel.soso && make clean; )
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
Tool used while rendering Mu's codebase in html. See the mu/update_html script.
|
||||
|
||||
Extremely hacky; just see the number of tests.
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
c++ -g linkify.cc -o linkify
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
rm -rf linkify *.dSYM
|
|
@ -12,8 +12,11 @@ These are built automatically.
|
|||
|
||||
These are built lazily.
|
||||
|
||||
* `linkify`: inserts hyperlinks from variables to definitions in Mu's html
|
||||
sources. Hacky; just see the number of tests. Invoked by `update_html`.
|
||||
|
||||
* `treeshake_all`: rebuild SubX binaries without tests and unused functions.
|
||||
Pretty hacky; just helps estimate the code needed to perform various tasks.
|
||||
Hacky; just helps estimate the code needed to perform various tasks.
|
||||
```
|
||||
tools/treeshake_all
|
||||
```
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
|
||||
set -e
|
||||
|
||||
( cd linkify; build; )
|
||||
( cd tools; c++ -g linkify.cc -o linkify; )
|
||||
|
||||
# generate html/$1.html using /tmp/tags
|
||||
process() {
|
||||
rm -f html/$1.html
|
||||
convert_html $1
|
||||
linkify/linkify /tmp/tags html/$1.html
|
||||
tools/linkify /tmp/tags html/$1.html
|
||||
mv html/$1.html.out html/$1.html
|
||||
}
|
||||
|
||||
|
@ -71,4 +71,3 @@ do
|
|||
done
|
||||
|
||||
rm /tmp/tags
|
||||
( cd linkify; clean; )
|
Loading…
Reference in New Issue