Skip to content
Snippets Groups Projects
Commit 91f1e6da authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[man] simplify production of man/frama-c.1

parent 6dd62079
No related branches found
No related tags found
No related merge requests found
...@@ -1634,10 +1634,10 @@ dots: $(ALL_CMO) ...@@ -1634,10 +1634,10 @@ dots: $(ALL_CMO)
$(QUIET_MAKE) doc/call_graph.ps $(QUIET_MAKE) doc/call_graph.ps
# pandoc is required to regenerate the manpage # pandoc is required to regenerate the manpage
man/frama-c.1: man/frama-c.1.header man/frama-c.1.md man/frama-c.1: man/frama-c.1.md Makefile
$(PRINT) 'generating $@' $(PRINT) 'generating $@'
$(RM) $@ $(RM) $@
pandoc -s -t man -H $^ | tail -n +5 > man/frama-c.1 pandoc -s -t man $< > $@
$(CHMOD_RO) $@ $(CHMOD_RO) $@
# Checking consistency with the current implementation # Checking consistency with the current implementation
......
...@@ -106,7 +106,7 @@ licenses/CDDL-1.0: .ignore ...@@ -106,7 +106,7 @@ licenses/CDDL-1.0: .ignore
licenses/LGPLv2: .ignore licenses/LGPLv2: .ignore
licenses/LGPLv2.1: .ignore licenses/LGPLv2.1: .ignore
licenses/Q_MODIFIED_LICENSE: .ignore licenses/Q_MODIFIED_LICENSE: .ignore
man/frama-c.1: CEA_LGPL man/frama-c.1: .ignore
opam/opam: .ignore opam/opam: .ignore
ptests/.gitignore: .ignore ptests/.gitignore: .ignore
ptests/.merlin: .ignore ptests/.merlin: .ignore
......
.\" Automatically generated by Pandoc 2.11.3
.\"
.TH "FRAMA-C" "1" "" "2021-02-16" ""
.hy
.\"------------------------------------------------------------------------ .\"------------------------------------------------------------------------
.\" .\"
.\" This file is part of Frama-C documentation .\" This file is part of Frama-C documentation
...@@ -13,8 +17,6 @@ ...@@ -13,8 +17,6 @@
.\" This man file has been generated from a Markdown file (frama-c.1.md) .\" This man file has been generated from a Markdown file (frama-c.1.md)
.\" using pandoc 2.0 or newer. To modify this file, edit the Markdown file .\" using pandoc 2.0 or newer. To modify this file, edit the Markdown file
.\" and run `make man/frama-c.1`. .\" and run `make man/frama-c.1`.
.TH FRAMA-C 1 2021-10-07
.SH NAME .SH NAME
.PP .PP
frama-c[.byte] - a static analyzer for C programs frama-c[.byte] - a static analyzer for C programs
......
.\"------------------------------------------------------------------------
.\"
.\" This file is part of Frama-C documentation
.\"
.\" Copyright (C) 2007-2021
.\" CEA (Commissariat à l'énergie atomique et aux énergies
.\" alternatives)
.\"
.\" you can redistribute it and/or modify it under the terms of the
.\" CC-BY-SA 4.0 license
.\" DO NOT EDIT THIS FILE!
.\" This man file has been generated from a Markdown file (frama-c.1.md)
.\" using pandoc 2.0 or newer. To modify this file, edit the Markdown file
.\" and run `make man/frama-c.1`.
.TH FRAMA-C 1 2021-10-07
---
title: 'FRAMA-C(1) 2021-02-16'
header-includes:
- |
```{=man}
.\"------------------------------------------------------------------------
.\"
.\" This file is part of Frama-C documentation
.\"
.\" Copyright (C) 2007-2021
.\" CEA (Commissariat à l'énergie atomique et aux énergies
.\" alternatives)
.\"
.\" you can redistribute it and/or modify it under the terms of the
.\" CC-BY-SA 4.0 license
.\" DO NOT EDIT THIS FILE!
.\" This man file has been generated from a Markdown file (frama-c.1.md)
.\" using pandoc 2.0 or newer. To modify this file, edit the Markdown file
.\" and run `make man/frama-c.1`.
```
...
# NAME # NAME
frama-c[.byte] - a static analyzer for C programs frama-c[.byte] - a static analyzer for C programs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment