~ubuntu-branches/ubuntu/utopic/xen/utopic

« back to all changes in this revision

Viewing changes to tools/xc/py/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Bastian Blank
  • Date: 2010-05-06 15:47:38 UTC
  • mto: (1.3.1) (15.1.1 sid) (4.1.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20100506154738-agoz0rlafrh1fnq7
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
all: ../lib/libxc.so ../lib/xc.h
3
 
        python setup.py build
4
 
 
5
 
install: all
6
 
        python setup.py install
7
 
 
8
 
dist: all
9
 
        mkdir -p ../../../../install/lib/python
10
 
        for i in `find . -name 'Xc.so'` ; do                           \
11
 
                install --mode=755 $$i ../../../../install/lib/python/`basename $$i` ; \
12
 
        done
13
 
        python -c 'import py_compile, sys; py_compile.compile("XenoUtil.py")'
14
 
        install --mode=444 XenoUtil.py ../../../../install/lib/python
15
 
        install --mode=644 XenoUtil.pyc ../../../../install/lib/python
16
 
clean:
17
 
        rm -rf build *.pyc *.pyo *.o *.a *~