Skip to content

Commit 3591728

Browse files
committed
[boot] Include size and modification dates of files in HTML output
Unfortunately to render this the files is needed rather than links to the files Signed-off-by: Christian I. Nilsson <nikize@gmail.com>
1 parent 921792c commit 3591728

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,19 +114,19 @@ output/errors : $(patsubst %,$(SRCDIR)/%,$(ERROR_FILES))
114114
sort -u $^ -o $@
115115

116116
$(OUTPUTS_STATIC) : output/% : static/%
117-
ln -sf $(realpath $<) $@
117+
cp -p $(realpath $<) $@
118118

119119
$(OUTPUTS_BIN) : output/% : $(SRCDIR)/bin/%
120-
ln -sf $(realpath $<) $@
120+
cp -p $(realpath $<) $@
121121

122122
$(OUTPUTS_BIN_COMBI) : output/% : $(SRCDIR)/bin-combi/%
123-
ln -sf $(realpath $<) $@
123+
cp -p $(realpath $<) $@
124124

125125
$(OUTPUTS_BIN_OTHER) : output/% : $(SRCDIR)/bin-%
126-
ln -sf $(realpath $<) $@
126+
cp -p $(realpath $<) $@
127127

128128
$(INDEX_DYNAMIC) : output/% : $(ALL_OUTPUTS)
129129
( cd $(dir $@) ; \
130-
tree -H "." -C -T "iPXE files" --filesfirst \
130+
tree -s -D -H "." -C -T "iPXE files" --filesfirst \
131131
-I index.html -o index.html ; \
132132
sed -i 's/<head>/<head>\n <meta name="viewport" content="width=device-width, initial-scale=1">/' index.html )

0 commit comments

Comments
 (0)