Skip to content

Commit

Permalink
- Add make target for precommand
Browse files Browse the repository at this point in the history
  • Loading branch information
helly25 committed May 28, 2007
1 parent 7c9d3a5 commit 3a21fe9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ext/phar/Makefile.frag
Expand Up @@ -2,7 +2,10 @@
$(srcdir)/phar_path_check.c: $(srcdir)/phar_path_check.re
$(RE2C) -b -o $(srcdir)/phar_path_check.c $(srcdir)/phar_path_check.re)

pharcmd: $(builddir)/phar.phar
pharcmd: $(builddir)/phar.php $(builddir)/phar.phar

$(builddir)/phar.php: $(srcdir)/phar/*.inc $(srcdir)/phar/*.php
php $(srcdir)/build_precommand.php > $(builddir)/phar.php

$(builddir)/phar.phar: $(srcdir)/phar/*.inc $(srcdir)/phar/*.php
php -d phar.readonly=0 $(srcdir)/phar.php pack -f $(builddir)/phar.phar -a pharcommand -c auto -x CVS -p 0 -s $(srcdir)/phar/phar.php -h sha1 $(srcdir)/phar/
Expand Down

0 comments on commit 3a21fe9

Please sign in to comment.