Permalink
Browse files

make will now attempt to init the Rosella submodule.

  • Loading branch information...
nolanlum committed Nov 24, 2011
1 parent a65ad08 commit 6f310f57c920d2a5ce29b8490c0af543c1d1d5f8
Showing with 5 additions and 1 deletion.
  1. +5 −1 Makefile
View
@@ -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
@@ -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.