forked from epics-modules/mrfioc2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To work with github pages. Also changes the generation of the evg-usage pdf to use pdflatex.
- Loading branch information
1 parent
ee12cf4
commit 13ae729
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,10 +13,16 @@ die() { | |
builddoc() { | ||
doxygen | ||
lyx -batch -e pdf evr-usage.lyx | ||
lyx -batch -e pdf evg-usage.lyx | ||
lyx -batch -e pdflatex evg-usage.lyx | ||
pdflatex evg-usage | ||
mv evg-usage.pdf evr-usage.pdf html/ | ||
} | ||
|
||
(cd documentation && builddoc) | ||
|
||
rsync -av --delete "$@" documentation/html/ $USER,[email protected]:/home/project-web/epics/htdocs/mrfioc2/ | ||
git checkout gh-pages | ||
cp -r documentation/html/* . | ||
rm -rf documentation | ||
git add . | ||
git commit -m "Last updates to documentation" | ||
git push origin gh-pages |