doc-src/isac/jrocnik/Makefile
author Jan Rocnik <jan.rocnik@student.tugraz.at>
Wed, 07 Mar 2012 15:58:18 +0100
changeset 42383 b0cc14c822da
parent 42378 6d1f4e7870b1
child 42440 e1500aecd348
permissions -rwxr-xr-x
changed makefile, added present1 and present2, DONE latex still working
     1 ## targets
     2 
     3 default: thesis clean
     4 all: thesis docu present clean
     5 thesis: thesis clean
     6 docu: docu clean
     7 present: present1 present2 clean
     8 
     9 
    10 ## dependencies
    11 
    12 
    13 ## settings
    14 
    15 LATEX = latex
    16 PDFLATEX = pdflatex
    17 BIBTEX = bibtex
    18 RAIL = rail -a
    19 SEDINDEX = ./sedindex
    20 FIXBOOKMARKS = perl -pi fixbookmarks.pl
    21 
    22 DEFAULT_GARBAGE = *.aux *.log *.toc *.idx *.rai *.rao *.bbl *.ind *.ilg *.blg *.out *.lof
    23 DEFAULT_OUTPUT = *.dvi jrocnik_present1.pdf jrocnik_present2.pdf jrocnik_bakk.pdf *.ps
    24 GARBAGE =
    25 OUTPUT =
    26 
    27 ## special targets
    28 
    29 .DELETE_ON_ERROR:
    30 
    31 ## actions
    32 
    33 nothing:
    34 
    35 clean:
    36 	@rm -f $(DEFAULT_GARBAGE) $(GARBAGE)
    37 
    38 mrproper:
    39 	@rm -f $(DEFAULT_GARBAGE) $(DEFAULT_OUTPUT) $(GARBAGE) $(OUTPUT)
    40 
    41 THESIS_NAME = jrocnik_bakk
    42 THESIS_FILES = jrocnik_bakk.tex
    43 
    44 DOCU_NAME = Inverse_Z_Transform/doc/Inverse_Z_Transform
    45 DOCU_FILES = Inverse_Z_Transform/doc/root.tex 
    46 
    47 PRESENT1_NAME = jrocnik_present1
    48 PRESENT1_FILES = jrocnik_present1.tex
    49 
    50 PRESENT2_NAME = jrocnik_present2
    51 PRESENT2_FILES = jrocnik_present2.tex
    52 
    53 thesis: $(THESIS_NAME).pdf
    54 
    55 $(THESIS_NAME).pdf: $(THESIS_FILES)
    56 	$(PDFLATEX) $(THESIS_NAME)
    57 	$(BIBTEX) $(THESIS_NAME)
    58 	$(PDFLATEX) $(THESIS_NAME)
    59 	$(PDFLATEX) $(THESIS_NAME)
    60   
    61 present1: $(PRESENT1_NAME).pdf
    62 
    63 $(PRESENT1_NAME).pdf: $(PRESENT1_FILES)
    64 	$(PDFLATEX) $(PRESENT1_NAME)
    65 	$(PDFLATEX) $(PRESENT1_NAME)
    66   
    67 present2: $(PRESENT2_NAME).pdf
    68 
    69 $(PRESENT2_NAME).pdf: $(PRESENT2_FILES)
    70 	$(PDFLATEX) $(PRESENT2_NAME)
    71 	$(PDFLATEX) $(PRESENT2_NAME)