diff --git a/Makefile b/Makefile index 540215f..cc342a5 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ clean: icon: @mkdir -p $(build)/image;\ cd image/icon;\ - for file in *; do convert "$$file" -fill "#$$RESUME_COLOR" -colorize 100 $(build)/image/"$$file"; done + for file in *; do convert "$$file" -fill "#$$RESUME_COLOR" -colorize 100 $(build)/image/"$$file" &> /dev/null || cp "$$file" $(build)/image/; done .PHONY: en en: icon diff --git a/README.md b/README.md index d7896f5..40b52e9 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ view | View built resumes in default PDF viewer. ## Requirements. * `GNU/Linux` (not tested on other platforms). * `LuaLaTeX` for the document itself. -* `ImageMagick` for colored icons. +* `ImageMagick` (optional) for colored icons. ### Texlive setup. ```text @@ -35,4 +35,4 @@ To install them use `$ tlmgr install $dependency`. ## TODO. - [x] Change icon color programmatically. -- [ ] Fallback for using black icons if ImageMagick is not available. +- [x] Fallback for using black icons if ImageMagick is not available.