Skip to content

Commit fa23962

Browse files
authored
Merge pull request #1254 from matejak/dist_built_manual
Make sure that the manual HTML is built and distributed.
2 parents 623d46c + c9b8f26 commit fa23962

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Makefile.am

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ EXTRA_DIST = m4/gnulib-cache.m4 \
6464
docs/examples/package-test.xml \
6565
docs/oscap-scan.cron \
6666
docs/manual/manual.adoc \
67+
docs/manual/manual.html \
68+
docs/manual/images/vertical-logo.png \
6769
dist/fedora/sectool-xccdf/00_integrity.sh \
6870
dist/fedora/sectool-xccdf/01_bootloader.sh \
6971
dist/fedora/sectool-xccdf/01_disk_usage.sh \
@@ -92,9 +94,15 @@ EXTRA_DIST = m4/gnulib-cache.m4 \
9294
dist/fedora/sectool-xccdf/sectool-xccdf.xml \
9395
README.md
9496

95-
dist-hook: ChangeLog
97+
docs/manual/%.html: $(srcdir)/docs/manual/%.adoc
98+
asciidoctor -b html5 -o $@ $<
99+
100+
docmanualdir = $(docdir)/manual
101+
dist_docmanual_DATA:
102+
docs/manual.html
103+
104+
dist-hook: ChangeLog docs/manual/manual.html
96105
cd $(distdir)/docs && doxygen Doxyfile
97-
cd $(distdir)/docs/manual && asciidoctor -b html5 manual.adoc
98106

99107
ChangeLog:
100108
git log | sed '/^commit/d; /^Merge/d' > ChangeLog

0 commit comments

Comments
 (0)