Skip to content

Commit

Permalink
make will now attempt to init the Rosella submodule.
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlum committed Nov 24, 2011
1 parent a65ad08 commit 6f310f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Expand Up @@ -15,7 +15,7 @@ pbclib: $(git2pbc) src/git2.pbc
%.pbc: %.pir
parrot -o $@ $<

rosella:
rosella: Rosella/Makefile
$(MAKE) -C Rosella build
ln -s Rosella/rosella rosella

Expand All @@ -27,6 +27,10 @@ src/git2.nci:
perl ./bin/header2nci.pl /usr/local/include/git2.h >> src/git2.nci ; \
for i in /usr/local/include/git2/*; do perl ./bin/header2nci.pl $$i >> src/git2.nci ; done

Rosella/Makefile:
git submodule init
git submodule update

.PHONY : clean
clean:
-rm -f $(git2pbc) src/git2.nci rosella

0 comments on commit 6f310f5

Please sign in to comment.