summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Peveler <matt.peveler@gmail.com>2021-10-28 11:56:57 -1000
committerGitHub <noreply@github.com>2021-10-28 11:56:57 -1000
commit8e721eb8e7da622f6201b6c5937a5f33baac2cc6 (patch)
treea10610f95cd331f6f65a0595b00429540677d5f8
parent82b2cdc7dfae46c5bfcddc695e0ab93597179b73 (diff)
downloadasciidoc-py3-8e721eb8e7da622f6201b6c5937a5f33baac2cc6.tar.gz
Fix running make docs (#203)
-rw-r--r--.github/workflows/test.yml10
-rw-r--r--Makefile.in8
2 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index d69097b..4b71ec2 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -70,12 +70,16 @@ jobs:
- run: time python tests/testasciidoc.py run
- run: git clean -x -f doc tests/data
- - name: Test make install
+ - name: Configure make
run: |
autoconf
./configure
- make
- pip3 install .
+
+ - run: make install
+ - run: sudo make docs
+
+ - name: Print versions
+ run: |
asciidoc --version
a2x --version
diff --git a/Makefile.in b/Makefile.in
index 54b24ce..7f61949 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -104,13 +104,9 @@ docs:
$(INSTALL) -d $(DESTDIR)$(docdir)
$(INSTALL_DATA) $(doc) $(DESTDIR)$(docdir)
$(INSTALL) -d $(DESTDIR)$(docdir)/docbook-xsl
- $(INSTALL_DATA) docbook-xsl/asciidoc-docbook-xsl.txt $(DESTDIR)$(docdir)/docbook-xsl
+ $(INSTALL_DATA) asciidoc/resources/docbook-xsl/asciidoc-docbook-xsl.txt $(DESTDIR)$(docdir)/docbook-xsl
$(INSTALL) -d $(DESTDIR)$(docdir)/dblatex
- $(INSTALL_DATA) dblatex/dblatex-readme.txt $(DESTDIR)$(docdir)/dblatex
- $(INSTALL) -d $(DESTDIR)$(docdir)/stylesheets
- $(INSTALL_DATA) $(css) $(DESTDIR)$(docdir)/stylesheets
- $(INSTALL) -d $(DESTDIR)$(docdir)/javascripts
- $(INSTALL_DATA) $(js) $(DESTDIR)$(docdir)/javascripts
+ $(INSTALL_DATA) asciidoc/resources/dblatex/dblatex-readme.txt $(DESTDIR)$(docdir)/dblatex
$(INSTALL) -d $(DESTDIR)$(docdir)/images
( cd images && \
cp -R * $(DESTDIR)$(docdir)/images )