X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=Makefile;h=8f9ab9e758cf3f631d080593d28a9818d8eefe3a;hb=1acc87eeac036b3ccfad5553b9092899cf2ecaa0;hp=e17c8628ac28d57c8323f035edf41f02c428e37e;hpb=3ef1da28e8cc5afcfe58be067e7e60528ce72f1a;p=github%2Fshaarli%2FShaarli.git diff --git a/Makefile b/Makefile index e17c8628..8f9ab9e7 100644 --- a/Makefile +++ b/Makefile @@ -92,3 +92,16 @@ mess_detector_summary: mess_title warnings=$$($(BIN)/phpmd $(PHP_SOURCE) text $$rule | wc -l); \ printf "$$warnings\t$$rule\n"; \ done; + +## +# Targets for repository and documentation maintenance +# +# remove all unversioned files +clean: + @git clean -df + +# 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