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

Fixed `cp: illegal option --` on BSD CP(1).

parent 1ef13c29
No related branches found
No related tags found
No related merge requests found
...@@ -130,7 +130,7 @@ $(DISTARCHIVE): $(SOURCES) $(LATEXFILES) $(MAKES) $(TESTS) \ ...@@ -130,7 +130,7 @@ $(DISTARCHIVE): $(SOURCES) $(LATEXFILES) $(MAKES) $(TESTS) \
$(USEREXAMPLE_SOURCES) $(DOCS) $(PDFSOURCES) $(MISCELLANEOUS) \ $(USEREXAMPLE_SOURCES) $(DOCS) $(PDFSOURCES) $(MISCELLANEOUS) \
$(EXAMPLES) $(VERSION) $(EXAMPLES) $(VERSION)
DIR=`mktemp -d` && \ DIR=`mktemp -d` && \
cp --verbose $(TDSARCHIVE) "$$DIR" && \ cp -v $(TDSARCHIVE) "$$DIR" && \
tar c $^ | tar xvC "$$DIR" && \ tar c $^ | tar xvC "$$DIR" && \
(cd "$$DIR" && zip -r -v -nw $@ *) && \ (cd "$$DIR" && zip -r -v -nw $@ *) && \
mv "$$DIR"/$@ . && rm -rf "$$DIR" mv "$$DIR"/$@ . && rm -rf "$$DIR"
...@@ -139,7 +139,7 @@ $(DISTARCHIVE): $(SOURCES) $(LATEXFILES) $(MAKES) $(TESTS) \ ...@@ -139,7 +139,7 @@ $(DISTARCHIVE): $(SOURCES) $(LATEXFILES) $(MAKES) $(TESTS) \
$(CTANARCHIVE): $(SOURCES) $(MAKES) $(TESTS) $(EXAMPLES) \ $(CTANARCHIVE): $(SOURCES) $(MAKES) $(TESTS) $(EXAMPLES) \
$(MISCELLANEOUS) $(EPSLOGOS) $(DOCS) $(VERSION) $(MISCELLANEOUS) $(EPSLOGOS) $(DOCS) $(VERSION)
DIR=`mktemp -d` && mkdir -p "$$DIR/fithesis" && \ DIR=`mktemp -d` && mkdir -p "$$DIR/fithesis" && \
cp --verbose $(TDSARCHIVE) "$$DIR" && \ cp -v $(TDSARCHIVE) "$$DIR" && \
tar c $^ | tar xvC "$$DIR/fithesis" && \ tar c $^ | tar xvC "$$DIR/fithesis" && \
printf '.PHONY: implode\nimplode:\n' > \ printf '.PHONY: implode\nimplode:\n' > \
"$$DIR/fithesis/example/mu/Makefile" && \ "$$DIR/fithesis/example/mu/Makefile" && \
......
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