Skip to content

Commit

Permalink
gh-pages needs a Makefile after all.
Browse files Browse the repository at this point in the history
  • Loading branch information
czottmann committed Aug 31, 2010
1 parent dd13012 commit 004afaa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,11 @@ production_docs:
@git merge production
@if [[ "`git branch | grep '*' | sed 's/^\* //'`" == "gh-pages" ]]; then \
echo "Unstaging and removing unwanted paths from the index...\n"; \
git rm -r --cached --ignore-unmatch tests src docs; \
git rm -r --cached --ignore-unmatch tests docs; \
find . -type f -depth 1 -not \( -name "*.js" -or -name "Makefile" \) -exec git rm --ignore-unmatch --cached "{}" \; ; \
echo "Generating docs...\n"; \
make docs; \
git rm -r --cached --ignore-unmatch src; \
echo "Documentation generated.\n"; \
echo "Committing changes...\n"; \
git add --ignore-errors docs index.html; \
Expand Down

0 comments on commit 004afaa

Please sign in to comment.