remove spaces
This commit is contained in:
parent
3b045c5e41
commit
aaba4bcfaf
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -2,7 +2,7 @@ NAME = _letter
|
||||||
TEX = $(NAME).tex
|
TEX = $(NAME).tex
|
||||||
FULLNAME = Lettre
|
FULLNAME = Lettre
|
||||||
|
|
||||||
DIRECTORIES = $(filter-out "." ".git", $(shell find . -maxdepth 1 -type d -printf "\"%f\" "))
|
DIRECTORIES = $(filter-out "." ".git",$(shell find . -maxdepth 1 -type d -printf "\"%f\" "))
|
||||||
TEMP_FILES = aux log tns fdb_latexmk fls synctex.gz pdf out
|
TEMP_FILES = aux log tns fdb_latexmk fls synctex.gz pdf out
|
||||||
TEMPLATE = Template
|
TEMPLATE = Template
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ all: build
|
||||||
clean:
|
clean:
|
||||||
@for dir in $(DIRECTORIES); do \
|
@for dir in $(DIRECTORIES); do \
|
||||||
cd "$$dir"; \
|
cd "$$dir"; \
|
||||||
$(RM) $(foreach i, $(TEMP_FILES), $(NAME).$(i)); \
|
$(RM) $(foreach i,$(TEMP_FILES),$(NAME).$(i)); \
|
||||||
cd ..; \
|
cd ..; \
|
||||||
done;
|
done;
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ clean-full:
|
||||||
$(RM) *.pdf
|
$(RM) *.pdf
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@for dir in $(filter-out "$(TEMPLATE)", $(DIRECTORIES)); do \
|
@for dir in $(filter-out "$(TEMPLATE)",$(DIRECTORIES)); do \
|
||||||
cd "$$dir"; \
|
cd "$$dir"; \
|
||||||
pdflatex $(TEX); \
|
pdflatex $(TEX); \
|
||||||
mv $(NAME).pdf "../$(FULLNAME)-$$dir.pdf"; \
|
mv $(NAME).pdf "../$(FULLNAME)-$$dir.pdf"; \
|
||||||
|
|
Loading…
Reference in a new issue