Skip to content

Commit

Permalink
Fix Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mukrop committed Aug 26, 2018
1 parent 903851f commit b449108
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ IMAGES=$(wildcard img/*)
all: czech english deploy

czech:
cd cs && make
cd czech && make

english:
cd en && make
cd english && make

clean:
cd cs && make clean
cd en && make clean
cd czech && make clean
cd english && make clean

remake:
cd cs && make remake
cd en && make remake
cd czech && make remake
cd english && make remake

deploy:
mkdir -p build
cp en/diary.pdf build/en-diary.pdf
cp en/print-single.pdf build/en-print-single.pdf
cp en/print-double.pdf build/en-print-double.pdf
cp cs/diary.pdf build/cs-diary.pdf
cp cs/print-single.pdf build/cs-print-single.pdf
cp cs/print-double.pdf build/cs-print-double.pdf
cp english/diary.pdf build/en-diary.pdf
cp english/print-single.pdf build/en-print-single.pdf
cp english/print-double.pdf build/en-print-double.pdf
cp czech/diary.pdf build/cs-diary.pdf
cp czech/print-single.pdf build/cs-print-single.pdf
cp czech/print-double.pdf build/cs-print-double.pdf

.PHONY: all czech english clean remake deploy

0 comments on commit b449108

Please sign in to comment.