Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
Frama-C Website
Commits
ae611a95
Commit
ae611a95
authored
Oct 12, 2021
by
Virgile Prevosto
Browse files
[archives] draft script working
parent
ce620cae
Changes
2
Hide whitespace changes
Inline
Side-by-side
fc-discuss/Makefile
View file @
ae611a95
...
...
@@ -2,7 +2,7 @@ ARCHIVES:=$(wildcard *.txt.gz)
OUTDIR
:=
html/fc-discuss
OUTROOT
:=
..
OUTTARGET
:=
$(OUTROOT)
/
$(OUTDIR)
HTML
:=
$
(
ARCHIVES:%.txt.gz
=
$(OUTTARGET)
/%/
index
.html
)
HTML
:=
$
(
ARCHIVES:%.txt.gz
=
$(OUTTARGET)
/%/
maillist
.html
)
$(OUTTARGET)/archives.md
:
$(HTML) archives-header.md
rm
-fr
$@
...
...
@@ -10,10 +10,11 @@ $(OUTTARGET)/archives.md: $(HTML) archives-header.md
$(
foreach
file,
$(HTML)
,
\
BASE
=
$
(
file:
$(OUTTARGET)
/%/index.html
=
%
)
;
\
echo
"##
$$
BASE"
>>
$@
;
\
echo
"- [By date](
$(OUTDIR)
/
$$
BASE/index.html
)
"
>>
$@
;
\
echo
"- [By thread](
$(OUTDIR)
/
$$
BASE/thread.html
)
"
>>
$@
;
\
echo
"- [By date](
$$
BASE/maillist.html
)
"
>>
$@
;
\
echo
"- [By thread](
$$
BASE/thread.html
)
"
>>
$@
;
\
echo
""
>>
$@
;
\
)
$(OUTTARGET)/%/
index
.html
:
%.txt.gz
$(OUTTARGET)/%/
maillist
.html
:
%.txt.gz
mkdir
-p
$(
dir
$@
)
mhonarc
-outdir
$(
dir
$@
)
$<
fc-discuss/archives-header.md
View file @
ae611a95
...
...
@@ -7,5 +7,5 @@ title: Archives of the old Frama-C-discuss mailing list
This page gathers the archives of the old Frama-C-discuss archives, that was hosted by
[
Inria
](
https://www.inria.fr
)
's gforge before its demise at the
end of 2020. To search for mails newer than September 2020, please visit
the page of the new mailing list
at
https://groupes.renater.fr/frama-c-discuss
the page of the new mailing list
on
[
Renater
](
https://groupes.renater.fr/frama-c-discuss
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment