/gh-pages

Makefile for copying files to the gh-pages branch

gh-pages

Makefile for copying a folder to the gh-pages branch

Inspired by the node package of the same name.

To use, create a Makefile, add definitions for the various GHP_* variables, and then include this gh-pages.Makefile.

Example Makefile:

GHP_SRC=build
GHP_DEST=docs
include gh-pages.Makefile

# ... other Make rules

Then run make gh-pages.