diff --git a/fithesis/Makefile b/fithesis/Makefile
index 6bc4683618a5f13514b104909f7136d5238934cf..164ab15938b0f28cd22dec98a01ee4c5ba46b622 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 f6dc63b577941a770061bd31e46b8257444b32c8..880b0929d01e33ed24bc5a1cdd41b7fddf15900a 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)