Skip to content
Snippets Groups Projects
Commit a7cd3622 authored by Bruno BEAUFILS's avatar Bruno BEAUFILS
Browse files

mkweb: Updated TODOs and BUGS

* Tests should be done more rigorously and more systematically.
* CMD_KEEP, and CMD_TEMPLATE should be verified and enhanced.
* HARD_LINK is implemented.
parent a91243b1
No related branches found
No related tags found
No related merge requests found
...@@ -10,3 +10,14 @@ mkweb ...@@ -10,3 +10,14 @@ mkweb
* when files list is too long list-build does not work due to shell line * when files list is too long list-build does not work due to shell line
length limitation. length limitation.
* hard-linking files may produce side effect.
When TEMPLATE is more recent than an .html file which need to be keeped and
which is on the same filesystem as the destination file (thus is hard-linked
only) the source file is reprocessed (KEEP_COPY). This may be time
consuming.
Every time a TEMPLATE is modified, such source files should be restamped so
that they are newer. This is not really a bug, but more a kind of a bad
behavior, or side effect of the use of hard link.
...@@ -12,20 +12,33 @@ misc ...@@ -12,20 +12,33 @@ misc
mkweb mkweb
===== =====
* Add (unit ?) tests
* Add support of comments (lines starting by # sign) in .keep and .ignore * Add support of comments (lines starting by # sign) in .keep and .ignore
files files
* Fix BUGS (grep FIXME *) * Fix BUGS (grep FIXME *)
* Remove hard-link or add a simple way to toggle hard-link/real copy of html files * Enhance content position determination in template file.
Since we deal with HTML files, content should be determined by a specific
id attribute of some tag and not through some free text stored in
START_CONTENT and STOP_CONTENT variables.
If that is how to be changed the *old* behavior should be preserved and the
new one offered only through some flag variables.
* Complete behavior should be simplified.
* CMD_KEEP should be avoided to be more efficient.
When TEMPLATE is more recent than an .html file which need to be keeped and File action determination (determining if a file need to processed or
which is on the same filesystem as the destination file (thus is hard-linked copied) is ugly because it use a call to a process $(shell) make functions
only) the source file is reprocessed (KEEP_COPY). This may be time for each file in the DO_HTML variables.
consuming.
Every time a TEMPLATE is modified, such source files should be restamped so A more efficient way should be investigated. The most efficient way should
that they are newer. This is not really a bug, but more a kind of a bad determined that information only once.
behavior, or side effect of the use of hard link.
* CMD_TEMPLATE should bed verified.
See the FIXME before $(DESTINATION)/%.html target in mkweb source.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment