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 current dot files with the repository."
10 @echo " make import FILES=<FILES>"
11 @echo " - import 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 export FILES=<FILES>"
16 @echo " - export dot files from the repository."
17 @echo " make diff FILE=<FILE>"
18 @echo " - show diff of the dot file."
22 perl ./tools/list-files.pl | perl ./tools/find-missing.pl
23 perl ./tools/list-files.pl | perl ./tools/find-outdated.pl
24 perl ./tools/list-files.pl | perl ./tools/find-changed.pl
29 perl ./tools/list-files.pl | perl ./tools/update.pl
30 perl ./tools/list-files.pl | perl ./tools/find-outdated.pl
35 git commit -m 'Auto commit by The Sugar System.'
37 git log --stat --unified -1 --color
40 perl ./tools/list-files.pl | perl ./tools/install.pl
44 @echo "Specify at least one file."
45 @echo "Usage: make import FILES=<FILES>"
49 (for i in $(FILES); do echo $$i; done) | perl ./tools/import.pl
54 perl ./tools/list-files.pl | \
55 perl ./tools/find-missing.pl | \
57 perl ./tools/import.pl
62 @echo "Specify at least one file."
63 @echo "Usage: $(MAKE) export FILES=<FILES>"
69 perl ./tools/export.pl
74 @echo "Specify one file."
75 @echo "Usage: make diff FILE=<FILE>"
79 perl ./tools/diff.pl $(FILE) | $(PAGER)
82 .PHONY: help lint update commit install import export diff