Makefile: add target `update-peg'
This commit is contained in:
parent
fa865c7dbc
commit
a77ab2f820
6
Makefile
6
Makefile
@ -39,6 +39,7 @@ VCS = git
|
|||||||
GITHUB = git://github.com
|
GITHUB = git://github.com
|
||||||
# also, if hggit extension is available:
|
# also, if hggit extension is available:
|
||||||
# VCS = hg
|
# VCS = hg
|
||||||
|
VCS-PULLFLAGS =
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -56,6 +57,11 @@ $(LEG):
|
|||||||
peg:
|
peg:
|
||||||
$(VCS) clone $(GITHUB)/knieriem/peg
|
$(VCS) clone $(GITHUB)/knieriem/peg
|
||||||
|
|
||||||
|
update-peg:
|
||||||
|
cd peg && $(VCS) pull $(VCS-PULLFLAGS)
|
||||||
|
cd peg/leg && make clean
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# access to original C source files
|
# access to original C source files
|
||||||
#
|
#
|
||||||
|
@ -46,6 +46,10 @@ finish the installation:
|
|||||||
|
|
||||||
See doc.go for an example how to use the package.
|
See doc.go for an example how to use the package.
|
||||||
|
|
||||||
|
To update [knieriem/peg][] run `gomake update-peg`. This
|
||||||
|
will fetch available revisions from github, and remove the
|
||||||
|
old *leg* binary.
|
||||||
|
|
||||||
To create the command line program *markdown,* run
|
To create the command line program *markdown,* run
|
||||||
|
|
||||||
cd $GOROOT/src/pkg/github.com/knieriem/markdown
|
cd $GOROOT/src/pkg/github.com/knieriem/markdown
|
||||||
|
Loading…
Reference in New Issue
Block a user