Makefile : rename view to open.

This commit is contained in:
Dmitry Voronin 2023-08-09 18:56:02 +03:00
parent 474f5bc1fe
commit a87b1a1451
2 changed files with 5 additions and 5 deletions

View file

@ -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)

View file

@ -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).