]> gitweb @ CieloNegro.org - sugar.git/blobdiff - GNUmakefile
Auto commit by The Sugar System.
[sugar.git] / GNUmakefile
index 325e68ea29bbab8d47f1217ab5a03d32fc6749c8..866991b30b96671a7298462c81ca4949960fb008 100644 (file)
@@ -1,5 +1,32 @@
+help:
+       @echo
+       @echo "  .:. Sugar - The Dot-Files Manager .:."
+       @echo
+       @echo "Usage:"
+       @echo "  make lint    - lint The Sugar System"
+       @echo "  make update  - update repository with the current dot files"
+       @echo "  make commit  - commit changes to the repository"
+       @echo "  make install - update the current dot files with the repository"
+       @echo
+
 lint:
-       @perl ./tools/list-files.pl | perl ./tools/find-missing.pl
-       @perl ./tools/list-files.pl | perl ./tools/find-outdated.pl
+       perl ./tools/list-files.pl | perl ./tools/find-missing.pl
+       perl ./tools/list-files.pl | perl ./tools/find-outdated.pl
+       perl ./tools/list-files.pl | perl ./tools/find-changed.pl
+
+update:
+       git pull
+       perl ./tools/list-files.pl | perl ./tools/update.pl
+       perl ./tools/list-files.pl | perl ./tools/find-outdated.pl
+       git status
+
+commit:
+       git add -A
+       git commit -m 'Auto commit by The Sugar System.'
+       git push
+       git log --stat --unified -1 --color
+
+install: lint
+       perl ./tools/list-files.pl | perl ./tools/install.pl
 
-.PHONY: lint
\ No newline at end of file
+.PHONY: help lint update commit install