Skip to content

Commit 8166735

Browse files
author
Sam Kleinman
committed
build: minor chaning clean targets to be more logical
1 parent ae89964 commit 8166735

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,15 @@ $(branch-output)/latex/%.tex:
144144
@echo [pdf]: pdf compilation of $@, complete at `date`.
145145

146146
############# General purpose targets. Not used (directly) in the production build #############
147+
build-ephemera = $(output-tables) $(output)/makefile.* $(output)/*.inv
147148
clean:
148-
-rm -rf $(output-tables) $(branch-output)/* build/makefile.*
149+
-rm -rf $(build-ephemera)
150+
clean-branch:
151+
-rm -rf $(build-ephemera) $(branch-output)/*
149152
clean-public:
150-
-rm -rf $(output-tables) $(public-output)/* build/makefile.*
153+
-rm -rf $(build-ephemera) $(public-output)/*
151154
clean-all:
152-
-rm -rf $(output-tables) $(output)/* build/makefile.*
155+
-rm -rf $(build-ephemera) $(output)/*
153156
draft:draft-html
154157
archive:$(public-output).$(timestamp).tar.gz
155158
@echo [$@]: created $< $@.

0 commit comments

Comments
 (0)