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

Merge branch 'fix-mac-install'

parents 77a21be8 fb73bace
No related branches found
No related tags found
No related merge requests found
......@@ -130,8 +130,8 @@ $(DISTARCHIVE): $(SOURCES) $(LATEXFILES) $(MAKES) $(TESTS) \
$(USEREXAMPLE_SOURCES) $(DOCS) $(PDFSOURCES) $(MISCELLANEOUS) \
$(EXAMPLES) $(VERSION)
DIR=`mktemp -d` && \
cp --verbose $(TDSARCHIVE) "$$DIR" && \
cp --parents --verbose $^ "$$DIR" && \
cp -v $(TDSARCHIVE) "$$DIR" && \
tar c $^ | tar xvC "$$DIR" && \
(cd "$$DIR" && zip -r -v -nw $@ *) && \
mv "$$DIR"/$@ . && rm -rf "$$DIR"
......@@ -139,8 +139,8 @@ $(DISTARCHIVE): $(SOURCES) $(LATEXFILES) $(MAKES) $(TESTS) \
$(CTANARCHIVE): $(SOURCES) $(MAKES) $(TESTS) $(EXAMPLES) \
$(MISCELLANEOUS) $(EPSLOGOS) $(DOCS) $(VERSION)
DIR=`mktemp -d` && mkdir -p "$$DIR/fithesis" && \
cp --verbose $(TDSARCHIVE) "$$DIR" && \
cp --parents --verbose $^ "$$DIR/fithesis" && \
cp -v $(TDSARCHIVE) "$$DIR" && \
tar c $^ | tar xvC "$$DIR/fithesis" && \
printf '.PHONY: implode\nimplode:\n' > \
"$$DIR/fithesis/example/mu/Makefile" && \
(cd "$$DIR" && zip -r -v -nw $@ *) && \
......@@ -166,11 +166,11 @@ install-base:
@# Class, locale, style and logo files
mkdir -p "$(to)/tex/latex/fithesis"
cp --parents --verbose $(LATEXFILES) "$(to)/tex/latex/fithesis"
tar c $(LATEXFILES) | tar xvC "$(to)/tex/latex/fithesis"
@# Source files
mkdir -p "$(to)/source/latex/fithesis"
cp --parents --verbose $(SOURCES) "$(to)/source/latex/fithesis"
tar c $(SOURCES) | tar xvC "$(to)/source/latex/fithesis"
@# Rebuild the hash
[ "$(nohash)" = "true" ] || texhash
......@@ -189,7 +189,7 @@ install-docs:
@# Documentation
mkdir -p "$(to)/doc/latex/fithesis"
cp --parents --verbose $(DOCS) "$(to)/doc/latex/fithesis"
tar c $(DOCS) | tar xvC "$(to)/doc/latex/fithesis"
@# Rebuild the hash
[ "$(nohash)" = "true" ] || texhash
......
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