1
0
mirror of https://github.com/ubf/ubf.git synced 2026-04-15 17:25:29 +00:00

Update asciidoc recipe

This commit is contained in:
Joseph Wayne Norton
2014-05-12 11:06:40 +09:00
parent 11ee4c9a58
commit bd1c28f3b1
5 changed files with 7 additions and 7 deletions

View File

@@ -1 +1,2 @@
*.html
gh-pages/

View File

@@ -9,12 +9,14 @@ pdf: $(PDF)
gh-pages: clean html
git submodule update --init --recursive
git co gh-pages
rsync -avz ./*.html ../../../
rsync -avz --exclude=.git --delete ./bootstrap-docs/bootstrap/ ../../../bootstrap/
git clone -b gh-pages ../../../ gh-pages
rsync -qavz ./*.html gh-pages/
rsync -qavz --exclude=.git --delete ./bootstrap-docs/bootstrap/ gh-pages/bootstrap/
rsync -qavz --exclude=.git --delete ./images/ gh-pages/images/
perl -i -pe 's~//\@ sourceMappingURL=jquery.min.map~~;' gh-pages/bootstrap/docs/assets/js/jquery.js
clean:
rm -f $(HTML) $(PDF)
rm -rf $(HTML) $(PDF) gh-pages
%.html: %.asciidoc Makefile
cd $(<D) && asciidoc $(<F)

View File

@@ -11,7 +11,6 @@ Joseph Wayne Norton <norton@alum.mit.edu>
:brandref: https://github.com/ubf
:doctype: article
:toc2:
:data-uri:
:backend: bootstrap-docs
:link-assets:
:glyphicons: http://glyphicons.com[Glyphicons]

View File

@@ -58,7 +58,6 @@ Joseph Wayne Norton <norton@alum.mit.edu>
:brandref: https://github.com/ubf
:doctype: article
:toc2:
:data-uri:
:backend: bootstrap-docs
:link-assets:
:glyphicons: http://glyphicons.com[Glyphicons]

View File

@@ -11,7 +11,6 @@ Joseph Wayne Norton <norton@alum.mit.edu>
:brandref: https://github.com/ubf
:doctype: article
:toc2:
:data-uri:
:backend: bootstrap-docs
:link-assets:
:glyphicons: http://glyphicons.com[Glyphicons]