diff options
author | John Ankarström <john@ankarstrom.se> | 2021-01-31 12:49:22 +0000 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-01-31 12:49:22 +0000 |
commit | dfb9b24814264abb429e4d289685654c469ff362 (patch) | |
tree | 9e4686fc56cfbb92ded6e514204210775da794b7 /mkfile | |
parent | 2f7147aa05cbdcb8b1b2470877dffc663cb7a83e (diff) | |
download | em-dfb9b24814264abb429e4d289685654c469ff362.tar.gz |
Add index script
Index automatically adds appropriate ids to HTML headings
and prints an index of all headings on stderr (unless given the
-s, silent, option).
Diffstat (limited to 'mkfile')
-rw-r--r-- | mkfile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,8 +1,13 @@ test.html: - path=(. /bin) em test.em > test.html + path=(. /bin) + ramfs -p + em test.em > /tmp/1 + htwrap -t /tmp/1 > /tmp/2 + index -s /tmp/2 > test.html README.html: README - path=(. /bin) em README > README.html + path=(. /bin) + em README > README.html install: cp em emcollect emparse htwrap /rc/bin/ |