Skip to content

Commit

Permalink
added make release
Browse files Browse the repository at this point in the history
  • Loading branch information
tvalimaki committed Apr 10, 2019
1 parent 58fa14d commit 2b80434
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ distclean: clean
rm -f $(NAME).{pdf,sty,ins} beamercolorthemetuni.sty
rm -f $(NAME)-example.{tex,pdf}
rm -f tau-logo-{fin,eng}.pdf
rm -rf $(PKGNAME).tds.zip
install: all
mkdir -p $(TEXMFHOME)/{tex,source,doc}/latex/$(PKGNAME)
cp $(NAME).dtx $(NAME).ins $(TEXMFHOME)/source/latex/$(PKGNAME)
Expand All @@ -40,3 +41,11 @@ uninstall:
rm -r $(TEXMFHOME)/{tex,source,doc}/latex/$(PKGNAME)
rm $(TEXMFHOME)/tex/generic/tuni-logos/tau-logo-{fin,eng}.{eps,pdf}
mktexlsr
release: all
mkdir -p {tex,source,doc}/latex/$(PKGNAME)
cp $(NAME).dtx $(NAME).ins source/latex/$(PKGNAME)
cp $(NAME).sty beamercolorthemetuni.sty tex/latex/$(PKGNAME)
mkdir -p tex/generic/tuni-logos
cp tau-logo-{fin,eng}.{eps,pdf} tex/generic/tuni-logos
cp $(NAME).pdf doc/latex/$(PKGNAME)
zip -rm $(PKGNAME).tds.zip tex source doc

0 comments on commit 2b80434

Please sign in to comment.