-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ _build | |
man/ | ||
*.install | ||
.merlin | ||
.gh-pages |
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 |
---|---|---|
|
@@ -40,4 +40,20 @@ watch: | |
make all; \ | ||
done | ||
|
||
.PHONY: benchs tests examples update_next_tag push_doc push_stable watch | ||
REPO[email protected]:c-cube/iter | ||
DOCDIR=.gh-pages | ||
|
||
$(DOCDIR)/.git: | ||
mkdir -p $(DOCDIR) | ||
cd $(DOCDIR) && (\ | ||
git clone -b gh-pages $(REPO).git . \ | ||
) | ||
|
||
gh-pages: $(DOCDIR)/.git doc | ||
git -C $(DOCDIR) pull | ||
cp -r _build/default/_doc/_html/* $(DOCDIR)/doc/dev/ | ||
git -C $(DOCDIR) add --all | ||
git -C $(DOCDIR) commit -a -m "gh-page updates" | ||
git -C $(DOCDIR) push origin gh-pages | ||
|
||
.PHONY: benchs tests examples update_next_tag push_doc push_stable watch gh-pages |