Skip to content
Snippets Groups Projects
Commit 3afc087c authored by Vít Novotný's avatar Vít Novotný
Browse files

Fixed a OSX `mkdir` problem.

parent 4977f0be
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ $(TDSARCHIVE): ...@@ -77,7 +77,7 @@ $(TDSARCHIVE):
# This target generates a distribution file # This target generates a distribution file
$(DISTARCHIVE): $(SOURCES) $(RESOURCES) $(MAKES) \ $(DISTARCHIVE): $(SOURCES) $(RESOURCES) $(MAKES) \
$(DOCS) $(PDFSOURCES) $(EXAMPLES) $(VERSION) $(LOGOSOURCES) $(DOCS) $(PDFSOURCES) $(EXAMPLES) $(VERSION) $(LOGOSOURCES)
DIR=`mktemp -d` && mkdir --parents "$$DIR/fibeamer" && \ DIR=`mktemp -d` && mkdir -p "$$DIR/fibeamer" && \
cp --verbose $(TDSARCHIVE) "$$DIR"/fibeamer && \ cp --verbose $(TDSARCHIVE) "$$DIR"/fibeamer && \
cp --parents --verbose $^ "$$DIR/fibeamer" && \ cp --parents --verbose $^ "$$DIR/fibeamer" && \
(cd "$$DIR" && zip -r -v -nw $@ *) && \ (cd "$$DIR" && zip -r -v -nw $@ *) && \
...@@ -86,7 +86,7 @@ $(DISTARCHIVE): $(SOURCES) $(RESOURCES) $(MAKES) \ ...@@ -86,7 +86,7 @@ $(DISTARCHIVE): $(SOURCES) $(RESOURCES) $(MAKES) \
# This target generates a CTAN distribution file # This target generates a CTAN distribution file
$(CTANARCHIVE): $(SOURCES) $(MAKES) $(LOGOSOURCES) $(DOCS) \ $(CTANARCHIVE): $(SOURCES) $(MAKES) $(LOGOSOURCES) $(DOCS) \
$(EXAMPLES) $(VERSION) $(EXAMPLES) $(VERSION)
DIR=`mktemp -d` && mkdir --parents "$$DIR/fibeamer/fibeamer" && \ DIR=`mktemp -d` && mkdir -p "$$DIR/fibeamer/fibeamer" && \
cp --verbose $(TDSARCHIVE) "$$DIR" && \ cp --verbose $(TDSARCHIVE) "$$DIR" && \
cp --parents --verbose $^ "$$DIR/fibeamer/fibeamer" && \ cp --parents --verbose $^ "$$DIR/fibeamer/fibeamer" && \
(cd "$$DIR" && zip -r -v -nw $@ *) && \ (cd "$$DIR" && zip -r -v -nw $@ *) && \
...@@ -105,15 +105,15 @@ install: ...@@ -105,15 +105,15 @@ install:
fi fi
# Theme and logo files # Theme and logo files
mkdir --parents "$(to)/tex/latex/fibeamer" mkdir -p "$(to)/tex/latex/fibeamer"
cp --parents --verbose $(RESOURCES) "$(to)/tex/latex/fibeamer" cp --parents --verbose $(RESOURCES) "$(to)/tex/latex/fibeamer"
# Source files # Source files
mkdir --parents "$(to)/source/latex/fibeamer" mkdir -p "$(to)/source/latex/fibeamer"
cp --parents --verbose $(SOURCES) "$(to)/source/latex/fibeamer" cp --parents --verbose $(SOURCES) "$(to)/source/latex/fibeamer"
# Documentation # Documentation
mkdir --parents "$(to)/doc/latex/fibeamer" mkdir -p "$(to)/doc/latex/fibeamer"
cp --parents --verbose $(DOCS) "$(to)/doc/latex/fibeamer" cp --parents --verbose $(DOCS) "$(to)/doc/latex/fibeamer"
# Rebuild the hash # Rebuild the hash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment