Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Move quickemu_conf manual to section 5 #1454

Merged
merged 3 commits into from
Oct 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
docs: Simplify make rules for pandoc
This removes a --standalone duplicate and counter-productive
indirections like $(MANSECTION) because it prevents having more
than one and docs/Makefile hardcodes the section anyway.
  • Loading branch information
dridi committed Sep 12, 2024
commit 05a3b34be43ff0c3875744d37a3b26ea46ff3a8a
12 changes: 4 additions & 8 deletions docs/pandoc-man.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
PANDOC ?= pandoc
PANDOC_OPTIONS = -f gfm+definition_lists

MANSECTION ?= 1
.SUFFIXES: .1.md .1

PANDOC_OPTIONS=-f gfm+definition_lists --standalone


MANPAGE.md = $(PANDOC) --standalone $(PANDOC_OPTIONS) --to man

%.$(MANSECTION): %.$(MANSECTION).md
$(MANPAGE.md) $< -o $@
.1.md.1:
$(PANDOC) --standalone $(PANDOC_OPTIONS) --to man -o $@ $<