]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - Makefile
Include documentation/wiki locally:
[github/shaarli/Shaarli.git] / Makefile
index e17c8628ac28d57c8323f035edf41f02c428e37e..8f9ab9e758cf3f631d080593d28a9818d8eefe3a 100644 (file)
--- 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