3 @echo " .:. Sugar - The Dot-Files Manager .:."
6 @echo " make lint - lint The Sugar System."
7 @echo " make update - update repository with the current dot files."
8 @echo " make commit - commit changes to the repository."
9 @echo " make install - update the current dot files with the repository."
10 @echo " make import FILES=<FILES>"
11 @echo " - import the dot files into the repository."
12 @echo " make import-all"
13 @echo " - import every uncontrolled dot files, which aren't"
14 @echo " ignored, into the repository."
15 @echo " make diff FILE=<FILE>"
16 @echo " - show diff of the dot file."
20 perl ./tools/list-files.pl | perl ./tools/find-missing.pl
21 perl ./tools/list-files.pl | perl ./tools/find-outdated.pl
22 perl ./tools/list-files.pl | perl ./tools/find-changed.pl
27 perl ./tools/list-files.pl | perl ./tools/update.pl
28 perl ./tools/list-files.pl | perl ./tools/find-outdated.pl
33 git commit -m 'Auto commit by The Sugar System.'
35 git log --stat --unified -1 --color
38 perl ./tools/list-files.pl | perl ./tools/install.pl
42 @echo "Specify at least one file."
43 @echo "Usage: make import FILES=<FILES>"
47 (for i in $(FILES); do echo $$i; done) | perl ./tools/import.pl
52 perl ./tools/list-files.pl | \
53 perl ./tools/find-missing.pl | \
55 perl ./tools/import.pl
60 @echo "Specify one file."
61 @echo "Usage: make diff FILE=<FILE>"
65 perl ./tools/diff.pl $(FILE) | $(PAGER)
68 .PHONY: help lint update commit install import diff