Changeset 1074


Ignore:
Timestamp:
Jun 20, 2011, 8:00:42 PM (6 years ago)
Author:
stefan
Message:

improved makefile for videos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dev/videos/makefile

    r1068 r1074  
    11include config.make
    22
    3 all: config.make first_vid.in
     3videos = first_vid.in
     4
     5all: check_config $(videos)
     6
     7check_config: config.make $(TutoMakeDir)/tutomake
    48
    59config.make:
     10  @echo "TutoMakeDir=..." >config.make
     11
     12$(TutoMakeDir)/tutomake:
    613  @echo "#######################################"
    714  @echo "# Please configure config.make first! #"
    815  @echo "#######################################"
    9   @echo "TutoMakeDir=..." >config.make
     16  @exit 1
    1017
    11 %.in:
    12   wget http://common.jle.cc/dev/videos/$*.in.diff.tar.bz2
     18%.in: %.in.diff.tar.bz2
    1319  tar xfj $*.in.diff.tar.bz2
    1420  $(TutoMakeDir)/tutomake -decompress $*.in.diff.tar.bz2
     21
     22%.in.diff.tar.bz2:
     23  wget http://common.jle.cc/dev/videos/$*.in.diff.tar.bz2
Note: See TracChangeset for help on using the changeset viewer.