Changes between Initial Version and Version 1 of Makefile


Ignore:
Timestamp:
Jan 20, 2007, 10:46:05 PM (14 years ago)
Author:
ulrich
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Makefile

    v1 v1  
     1This is a small sample Makefile
     2
     3{{{
     4EXCLUDE_DIRECTORIES=proc,dev,boot,home
     5
     6TEXFILES=document.tex directories.tex
     7
     8LITERATURE=literature.bib
     9
     10.PHONY: directories.tex
     11
     12.DEFAULT: all
     13
     14all: document.pdf view
     15
     16rebuild: clean all
     17
     18directories.tex: dirs.py
     19        ./dirs.py ../../ $(EXCLDIRS) > $@
     20
     21document.pdf: $(TEXFILES) $(LITERATURE)
     22
     23view:
     24        acroread bericht.pdf &
     25
     26clean:
     27        rm -f regdef.tex
     28        rm -f $(DIRS:=_dirs.tex)
     29        rm -f *.aux
     30        rm -f *.log
     31        rm -f *.lot
     32        rm -f *.lof
     33        rm -f *.toc
     34        rm -f *.bbl
     35        rm -f *.blg
     36        rm -f *.dvi
     37        rm -f dirs.tex
     38}}}