diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-03 10:52:37 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-03 10:52:37 +0300 |
commit | 853ec5e9c65026d6992e967e62acdb82295416cf (patch) | |
tree | d514a45df6309aa2a1484c3cac416f930649e24d | |
parent | remove PDF from master branch (diff) | |
download | cv-853ec5e9c65026d6992e967e62acdb82295416cf.tar.gz cv-853ec5e9c65026d6992e967e62acdb82295416cf.zip |
add `make clean`
-rw-r--r-- | .github/workflows/build.yml | 2 | ||||
-rw-r--r-- | Makefile | 3 |
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: @@ -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)/ |