~ubuntu-branches/ubuntu/trusty/pdfposter/trusty

« back to all changes in this revision

Viewing changes to SConstruct

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bläsing
  • Date: 2008-10-07 10:20:20 UTC
  • Revision ID: james.westby@ubuntu.com-20081007102020-s2fwyr62jzvle0tx
Tags: upstream-0.4.4
Import upstream version 0.4.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- mode: python ; coding: utf-8 -*-
 
2
#
 
3
# Build requirements
 
4
# - docutils
 
5
# - inkscape
 
6
#
 
7
# For building tests
 
8
# - pdf2ps (comes with ghostscript)
 
9
# - poster 
 
10
#
 
11
# For building examles
 
12
# Build requirements
 
13
# - ImageMagick
 
14
#
 
15
 
 
16
import os
 
17
 
 
18
ENV = {
 
19
    'PYTHONPATH': os.environ['PYTHONPATH'],
 
20
    }
 
21
 
 
22
env = Environment(ENV=ENV)
 
23
env.SConsignFile()
 
24
 
 
25
env.Command('pdfposter.1', 'pdfposter.rst',
 
26
            'python -S ./docutils-manpage-writer/rst2man.py $SOURCE $TARGET')
 
27
 
 
28
# create PNG projectlogo for project homepage
 
29
env.Command('projectlogo.png', 'projectlogo.svg',
 
30
            'inkscape -z -f $SOURCE -e $TARGET --export-height=100')
 
31
 
 
32
env.Export(['env'])
 
33
env.SConscript(dirs='test')
 
34
env.SConscript(dirs='examples')