diff --git a/Makefile b/Makefile index cc342a5..25ec2d5 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ export RESUME_PHOTO := $(photo) export RESUME_EXTRA := $(extra) .PHONY: all -all: clean icon en ru view +all: clean icon en ru open .PHONY: clean clean: @@ -41,7 +41,7 @@ ru: icon lualatex --output-dir=$(build) $(target);\ mv $(output) $(outputru) -.PHONY: view -view: +.PHONY: open +open: @xdg-open $(outputen);\ xdg-open $(outputru) diff --git a/README.md b/README.md index 40b52e9..e952602 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,12 @@ $ make $target ### Available targets. Taget | Description --- | --- -all | Clean, build and view all languages. +all | Clean, build and open all languages. clean | Clean project from build files. icon | Build colored icons. en | Build English resume. ru | Build Russian resume. -view | View built resumes in default PDF viewer. +open | Open built resumes in default PDF viewer. ## Requirements. * `GNU/Linux` (not tested on other platforms).