aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-03 10:52:37 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-03 10:52:37 +0300
commit853ec5e9c65026d6992e967e62acdb82295416cf (patch)
treed514a45df6309aa2a1484c3cac416f930649e24d
parentremove PDF from master branch (diff)
downloadcv-853ec5e9c65026d6992e967e62acdb82295416cf.tar.gz
cv-853ec5e9c65026d6992e967e62acdb82295416cf.zip
add `make clean`
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--Makefile3
2 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8f3ce84..680f520 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -22,7 +22,7 @@ jobs:
name: Egor_Tensin_CV_en
path: cv/cv.pdf
- name: Clean up auxiliary files
- run: sudo find cv/ '!' -name cv.pdf -type f -delete
+ run: sudo make clean
- name: PDF to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
diff --git a/Makefile b/Makefile
index ea5d69e..8fa8373 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,8 @@ $(pdf): $(name).tex img/selfie_face.jpg | $(name)/
.PHONY: clean
clean:
+ find $(name) '!' -name cv.pdf -type f -delete
.PHONY: clean-all
-clean-all: clean
+clean-all:
$(RMDIR) $(name)/