3 TAG
:= $(shell (git describe
--tags --match
=v
[0-9]* 2>/dev
/null || git tag
--sort=authordate | egrep ^v
[0-9] | tail
-n1
) | cut
-d.
-f-2
)
7 SPECIAL_SRC
:= src
/ion
/\\\
:\\\ Security.md src
/ion
/\\\
:\\\ Contributing.md src
/ion.md
13 -unlink
$@
2>/dev
/null
17 $(TAG
): markdown | vendor
/bin
/ref2html
20 $(PHP
) $| ext-ion
/$@ src
25 markdown
: src
/ion.stub.php
$(SPECIAL_SRC
) | vendor
/bin
/stub2ref
30 src
/ion.stub.php
: ..
/ion.stub.php | src
31 -test -e
$@ || ln
$^
$@
32 src
/ion.md
: ..
/README.md | src
33 -test -e
$@ || ln
$^
$@
34 src
/ion
/\\\
:\\\ Security.md
: ..
/SECURITY.md | src
/ion
35 -test -e
$@ || ln
$^
$@
36 src
/ion
/\\\
:\\\ Contributing.md
: ..
/CONTRIBUTING.md | src
/ion
37 -test -e
$@ || ln
$^
$@
40 COMPOSER
= $(COMPOSER
) require m6w6
/mdref
:dev-master
44 -rm -rf latest src vendor composer.
*