Makefile : rename view to open.
This commit is contained in:
parent
474f5bc1fe
commit
a87b1a1451
6
Makefile
6
Makefile
|
@ -13,7 +13,7 @@ export RESUME_PHOTO := $(photo)
|
||||||
export RESUME_EXTRA := $(extra)
|
export RESUME_EXTRA := $(extra)
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: clean icon en ru view
|
all: clean icon en ru open
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
@ -41,7 +41,7 @@ ru: icon
|
||||||
lualatex --output-dir=$(build) $(target);\
|
lualatex --output-dir=$(build) $(target);\
|
||||||
mv $(output) $(outputru)
|
mv $(output) $(outputru)
|
||||||
|
|
||||||
.PHONY: view
|
.PHONY: open
|
||||||
view:
|
open:
|
||||||
@xdg-open $(outputen);\
|
@xdg-open $(outputen);\
|
||||||
xdg-open $(outputru)
|
xdg-open $(outputru)
|
||||||
|
|
|
@ -8,12 +8,12 @@ $ make $target
|
||||||
### Available targets.
|
### Available targets.
|
||||||
Taget | Description
|
Taget | Description
|
||||||
--- | ---
|
--- | ---
|
||||||
all | Clean, build and view all languages.
|
all | Clean, build and open all languages.
|
||||||
clean | Clean project from build files.
|
clean | Clean project from build files.
|
||||||
icon | Build colored icons.
|
icon | Build colored icons.
|
||||||
en | Build English resume.
|
en | Build English resume.
|
||||||
ru | Build Russian resume.
|
ru | Build Russian resume.
|
||||||
view | View built resumes in default PDF viewer.
|
open | Open built resumes in default PDF viewer.
|
||||||
|
|
||||||
## Requirements.
|
## Requirements.
|
||||||
* `GNU/Linux` (not tested on other platforms).
|
* `GNU/Linux` (not tested on other platforms).
|
||||||
|
|
Loading…
Reference in a new issue