There are several levels of cleanup that apply both through using the cleanup method and for targets. They are:
tidy: remove unimportant intermediate generated filesclean: remove all generated filespurge: really remove all generated filesnever: this target will never be removed by remake.clean includes everything from tidy and purge includes everything from clean.
By default, all targets are tidy, so they'll be removed by any cleanup operation. Targets with no rule (including implicit file targets), and fake targets all get the cleanup level never.
Targets can protected by adding the key:
cleanup_level: <level>
within their target entry in the remakefile (at the same level as rule and depends:
target_name:
depends: <list of target names>
rule: function_name
cleanup_level: <cleanup level>
A remakefile can also contain targets tidy, clean and purge. However, these are treated specially:
Hopefully this will not often be needed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.