X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=Makefile;h=c560d8d16d60f7e023d06c4ec66eaa483b0631f9;hb=98348200e397864396cfea7db6b9fca698b033e1;hp=5104e302c19e0cec0eeebf2b9b145d6b850ccc65;hpb=3e25f245f95bdaeb9db2e6e0540189d5378ad05d;p=github%2Fshaarli%2FShaarli.git diff --git a/Makefile b/Makefile index 5104e302..c560d8d1 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,8 @@ # - enable in php.ini BIN = vendor/bin -PHP_SOURCE = index.php application tests -PHP_COMMA_SOURCE = index.php,application,tests +PHP_SOURCE = index.php application tests plugins +PHP_COMMA_SOURCE = index.php,application,tests,plugins all: static_analysis_summary test @@ -106,7 +106,7 @@ mess_detector_summary: mess_title # See phpunit.xml for configuration # https://phpunit.de/manual/current/en/appendixes.configuration.html ## -test: clean +test: @echo "-------" @echo "PHPUNIT" @echo "-------" @@ -118,16 +118,51 @@ test: clean ### remove all unversioned files clean: - @git clean -df + @git clean -df + +### generate Doxygen documentation +doxygen: clean + @rm -rf doxygen + @( cat Doxyfile ; echo "PROJECT_NUMBER=`git describe`" ) | doxygen - ### update the local copy of the documentation doc: clean - @rm -rf doc - @git clone https://github.com/shaarli/Shaarli.wiki.git doc - @rm -rf doc/.git + @rm -rf doc + @git clone https://github.com/shaarli/Shaarli.wiki.git doc + @rm -rf doc/.git + +### Generate a custom sidebar +# +# Sidebar content: +# - convert GitHub-flavoured relative links to standard Markdown +# - trim HTML, only keep the list (