Skip to content
This repository has been archived by the owner on May 31, 2022. It is now read-only.

Commit

Permalink
Symlink Slovak logos to avoid duplicate files
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed May 25, 2021
1 parent f17aed8 commit 8f2156d
Show file tree
Hide file tree
Showing 25 changed files with 30 additions and 4,709 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ $(DISTARCHIVE): $(SOURCES) $(LATEXFILES) $(MAKES) \
DIR=`mktemp -d` && \
cp -v $(TDSARCHIVE) "$$DIR" && \
tar c $^ | tar xvC "$$DIR" && \
(cd "$$DIR" && zip -r -v -nw $@ *) && \
(cd "$$DIR" && zip --symlinks -r -v -nw $@ *) && \
mv "$$DIR"/$@ . && rm -rf "$$DIR"

# This target generates a CTAN distribution file.
$(CTANARCHIVE): $(LOGOS) $(SOURCES) $(DOCS) README.md
DIR=`mktemp -d` && mkdir -p "$$DIR/fithesis" && \
cp -v $(TDSARCHIVE) "$$DIR" && \
tar c $^ | tar xvC "$$DIR/fithesis" && \
(cd "$$DIR" && zip -r -v -nw $@ *) && \
(cd "$$DIR" && zip --symlinks -r -v -nw $@ *) && \
mv "$$DIR"/$@ . && rm -rf "$$DIR"

# This pseudo-target installs the class, locale, style, and logo
Expand Down
6 changes: 6 additions & 0 deletions logo/mu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ all: $(PDFFILES)
%.pdf: %.eps
epstopdf $<

# These targets symlinl a Czech PDF logo to a Slovak PDF logo.
%-slovak.pdf: %-czech.pdf
ln -s $< $@
%-slovak-color.pdf: %-czech-color.pdf
ln -s $< $@

# This target removes all PDF logos.
implode:
rm -f $(PDFFILES)
158 changes: 0 additions & 158 deletions logo/mu/fithesis-base-slovak-color.eps

This file was deleted.

1 change: 1 addition & 0 deletions logo/mu/fithesis-base-slovak-color.eps
159 changes: 0 additions & 159 deletions logo/mu/fithesis-base-slovak.eps

This file was deleted.

1 change: 1 addition & 0 deletions logo/mu/fithesis-base-slovak.eps
Loading

0 comments on commit 8f2156d

Please sign in to comment.