Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
26 changes: 24 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
# Derived deliverables — uploaded as release assets, not version-controlled
The_Steelbore_Standard.odt
# Generated outputs — produced from The_Steelbore_Standard.texi via `make`
# Run: make info → .info make html → .html make md → .md make pdf → .pdf
# On request only: make docx → .docx
The_Steelbore_Standard.info
The_Steelbore_Standard.html
The_Steelbore_Standard.pdf
The_Steelbore_Standard.docx
The_Steelbore_Standard.odt

# TeX auxiliary files
*.aux
*.log
*.toc
*.cp
*.cps
*.fn
*.fns
*.ky
*.kys
*.pg
*.pgs
*.tp
*.tps
*.vr
*.vrs

# Agent-local guidance and exports (not for publication)
CLAUDE.md
Expand Down
40 changes: 40 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# SPDX-FileCopyrightText: 2026 Mohamed Hammad <Mohamed.Hammad@SpacecraftSoftware.org>
# SPDX-License-Identifier: GPL-3.0-or-later

TEXI = The_Steelbore_Standard.texi
INFO = The_Steelbore_Standard.info
HTML = The_Steelbore_Standard.html
MD = The_Steelbore_Standard.md
PDF = The_Steelbore_Standard.pdf
DOCX = The_Steelbore_Standard.docx
CSS = spacecraft.css

all: info html md

info: $(INFO)
$(INFO): $(TEXI)
makeinfo --no-split $(TEXI)

html: $(HTML)
$(HTML): $(TEXI) $(CSS)
texi2any --html --no-split --css-include=$(CSS) $(TEXI)

md: $(MD)
$(MD): $(TEXI)
texi2any --docbook $(TEXI) -o /tmp/std_docbook.xml
pandoc -f docbook -t gfm /tmp/std_docbook.xml -o $(MD)

pdf: $(PDF)
$(PDF): $(TEXI)
texi2pdf --texinfo=@afourpaper $(TEXI)

docx: $(DOCX)
$(DOCX): $(TEXI)
texi2any --docbook $(TEXI) -o /tmp/std_docbook.xml
pandoc -f docbook -t docx /tmp/std_docbook.xml -o $(DOCX)

clean:
rm -f $(INFO) $(HTML) $(PDF) *.aux *.log *.toc *.cp *.cps \
*.fn *.fns *.ky *.kys *.pg *.pgs *.tp *.tps *.vr *.vrs

.PHONY: all info html md pdf docx clean
2 changes: 1 addition & 1 deletion REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version = 1
# override: the Standard text contains *example* SPDX headers (in §4.3) that must not be
# parsed as real license tags — the REUSE.toml annotation is authoritative for these files.
[[annotations]]
path = ["The_Steelbore_Standard.md", ".gitignore", "REUSE.toml"]
path = ["The_Steelbore_Standard.texi", "The_Steelbore_Standard.md", ".gitignore", "REUSE.toml"]
precedence = "override"
SPDX-FileCopyrightText = "2026 Mohamed Hammad <Mohamed.Hammad@SpacecraftSoftware.org>"
SPDX-License-Identifier = "CC-BY-SA-4.0"
Expand Down
Loading
Loading