Skip to content
Snippets Groups Projects
Commit addfff8a authored by witiko's avatar witiko
Browse files

Make the behaviour of `make install` more obvious.

parent ff8c59a0
No related branches found
No related tags found
No related merge requests found
...@@ -38,8 +38,8 @@ example.pdf: example.tex fithesis3.cls ...@@ -38,8 +38,8 @@ example.pdf: example.tex fithesis3.cls
# into the directory provided as the "to" argument. # into the directory provided as the "to" argument.
install: install:
@if [ -z "$(to)" ]; then echo "Usage: make to=DIRECTORY install"; exit 1; fi @if [ -z "$(to)" ]; then echo "Usage: make to=DIRECTORY install"; exit 1; fi
mkdir --parents "$(to)" mkdir --parents "$(to)/fithesis3"
cp --parents --verbose $(INSTALLFILES) "$(to)" cp --parents --verbose $(INSTALLFILES) "$(to)/fithesis3"
# This pseudo-target removes any existing auxiliary files. # This pseudo-target removes any existing auxiliary files.
clean: clean:
......
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