From 69ff22e600cfab3bb0c87e41febf64fee6841b5c Mon Sep 17 00:00:00 2001 From: Stanislav Komanec <stanislav@komanec.eu> Date: Mon, 19 Oct 2015 21:53:53 +0200 Subject: [PATCH] OSX - mkdir problem, closes #2 --- fithesis/Makefile | 10 +++++----- fithesis/locale/Makefile | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fithesis/Makefile b/fithesis/Makefile index 6bc4683..164ab15 100644 --- a/fithesis/Makefile +++ b/fithesis/Makefile @@ -94,7 +94,7 @@ $(TDSARCHIVE): # This target generates a distribution file $(DISTARCHIVE): $(SOURCES) $(LATEXFILES) $(MAKES) $(TESTS) \ $(DOCS) $(PDFSOURCES) $(MISCELLANEOUS) $(EXAMPLES) $(VERSION) - DIR=`mktemp -d` && mkdir --parents "$$DIR/fithesis" && \ + DIR=`mktemp -d` && mkdir -p "$$DIR/fithesis" && \ cp --verbose $(TDSARCHIVE) "$$DIR"/fithesis && \ cp --parents --verbose $^ "$$DIR/fithesis" && \ (cd "$$DIR" && zip -r -v -nw $@ *) && \ @@ -103,7 +103,7 @@ $(DISTARCHIVE): $(SOURCES) $(LATEXFILES) $(MAKES) $(TESTS) \ # This target generates a CTAN distribution file $(CTANARCHIVE): $(SOURCES) $(MAKES) $(TESTS) \ $(MISCELLANEOUS) $(EPSLOGOS) $(DOCS) $(DEVEXAMPLES) $(VERSION) - DIR=`mktemp -d` && mkdir --parents "$$DIR/fithesis" && \ + DIR=`mktemp -d` && mkdir -p "$$DIR/fithesis" && \ cp --verbose $(TDSARCHIVE) "$$DIR" && \ cp --parents --verbose $^ "$$DIR/fithesis" && \ (cd "$$DIR" && zip -r -v -nw $@ *) && \ @@ -122,15 +122,15 @@ install: fi # Class, locale, style and logo files - mkdir --parents "$(to)/tex/latex/fithesis" + mkdir -p "$(to)/tex/latex/fithesis" cp --parents --verbose $(LATEXFILES) "$(to)/tex/latex/fithesis" # Source files - mkdir --parents "$(to)/source/latex/fithesis" + mkdir -p "$(to)/source/latex/fithesis" cp --parents --verbose $(SOURCES) "$(to)/source/latex/fithesis" # Documentation - mkdir --parents "$(to)/doc/latex/fithesis" + mkdir -p "$(to)/doc/latex/fithesis" cp --parents --verbose $(DOCS) "$(to)/doc/latex/fithesis" # Rebuild the hash diff --git a/fithesis/locale/Makefile b/fithesis/locale/Makefile index f6dc63b..880b092 100644 --- a/fithesis/locale/Makefile +++ b/fithesis/locale/Makefile @@ -21,7 +21,7 @@ OUTPUT=fithesis-czech.def mu/law/fithesis-czech.def \ .PHONY: explode implode all all: - mkdir --parents $(DIRECTORIES) + mkdir -p $(DIRECTORIES) make explode explode: $(LOGS) -- GitLab