diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/disser/Makefile')
-rw-r--r-- | Master/texmf-dist/source/latex/disser/Makefile | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/latex/disser/Makefile b/Master/texmf-dist/source/latex/disser/Makefile index 2932ead94ab..222a4f34bbe 100644 --- a/Master/texmf-dist/source/latex/disser/Makefile +++ b/Master/texmf-dist/source/latex/disser/Makefile @@ -1,19 +1,30 @@ TARGET=disser TEXMF=/usr/share/texmf -DESTDIR=$(TEXMF)/tex/latex/disser -INSTFILES=$(TARGET).cls *.rtx -CLEANFILES=$(INSTFILES) *.log *.out *.aux *.dvi *.idx *.glo *.toc *.bak +DESTDIR=$(TEXMF)/tex/latex/$(TARGET) +DOCDIR=$(TEXMF)/doc/latex/$(TARGET) -$(TARGET).cls: $(TARGET).ins - latex $< +LATEX=latex -install: $(TARGET).cls +INSTFILES=*.cls *.rtx +DOCFILES=$(TARGET).dvi +CLEANFILES=$(INSTFILES) *.log *.out *.aux *.dvi *.idx *.glo *.toc *.bak *.bbl *.blg + +all: *.cls doc + +install: all mkdir -p $(DESTDIR) + mkdir -p $(DOCDIR) cp $(INSTFILES) $(DESTDIR) + cp $(DOCFILES) $(DOCDIR) + +%.cls: %.ins + $(LATEX) $< + +doc: $(TARGET).dvi -doc: $(TARGET).dtx - latex $< - latex -src-specials $< +$(TARGET).dvi: $(TARGET).dtx + $(LATEX) $< + $(LATEX) -src-specials $< clean: rm -f $(CLEANFILES) |