summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3a4fe16..30c9235 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,15 @@
-install : gpcfhw.cls
+gpcfhw.cls :
+ yes | latex gpcfhw.ins
+gpcfmac.sty :
+ yes | latex gpcfmac.ins
+install : clean gpcfhw.cls gpcfmac.sty
mkdir -p ~/texmf/tex/latex/gpcfhw/
+ mkdir -p ~/texmf/tex/latex/gpcfmac/
+ cp gpcfmac.sty ~/texmf/tex/latex/gpcfmac/
cp gpcfhw.cls ~/texmf/tex/latex/gpcfhw/
texhash ~/texmf
+clean :
+ rm -f *.aux *.idx *.glo *.log *.pdf *.sty *.cls *.ind *.ilg *.gls
+doc :
+ pdflatex gpcfmac.dtx
+ pdflatex gpcfhw.dtx