~ubuntu-branches/ubuntu/quantal/spectacle/quantal

« back to all changes in this revision

Viewing changes to spectacle/dsc/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2010-08-08 20:01:42 UTC
  • Revision ID: james.westby@ubuntu.com-20100808200142-q09anvq02isk4o6n
Tags: upstream-0.18+git19+4768025
ImportĀ upstreamĀ versionĀ 0.18+git19+4768025

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ex: set tabstop=4 noexpandtab: 
 
2
PYTHON=python
 
3
CHEETAH=cheetah
 
4
TEMPLATES=$(wildcard *.tmpl)
 
5
TEMPLATE_MODS=$(patsubst %.tmpl,%.py,$(TEMPLATES))
 
6
.SECONDARY: $(TEMPLATE_MODS)
 
7
 
 
8
all: $(TEMPLATE_MODS)
 
9
 
 
10
%.py: %.tmpl
 
11
        $(CHEETAH) compile --settings='useStackFrames=False' $<
 
12
        cp $@ __init__.py
 
13
 
 
14
clean:
 
15
        rm -f $(TEMPLATE_MODS)
 
16
        rm -f $(addsuffix .bak,$(TEMPLATE_MODS))
 
17
        rm -f *.xsd *.wsdl
 
18
        rm -f *.pyc *.pyo
 
19
        rm -f *.py
 
20
        rm -f *.bak