~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to platform/Makefile

  • Committer: Matt Giuca
  • Date: 2010-02-23 07:46:34 UTC
  • Revision ID: matt.giuca@gmail.com-20100223074634-r08p14zoy3u5atoc
browser.js: Fixed check for whether to use specialhome -- now works if the path ends in a '/'. This fixes Launchpad Bug #492510.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
BASEDIR=/home/informatics
2
 
 
3
 
CONFIGS =       config/lite.conf \
4
 
                        config/svn-apache.conf
5
 
 
6
 
SCRIPTS =       scripts/mkJail.sh \
7
 
                        scripts/safe-python
8
 
 
9
 
#JAILRULE = redhat_el5_x86_64
10
 
JAILRULE = ubuntu_gibbon_i686
11
 
 
12
 
.PHONY : install
13
 
install : $(CONFIGS) $(SCRIPTS) $(JAILRULE)
14
 
        cp $(CONFIGS) $(BASEDIR)/config
15
 
        cp $(SCRIPTS) $(BASEDIR)/bin
16
 
 
17
 
.PHONY : $(BASEDIR)
18
 
$(BASEDIR) :
19
 
        -mkdir $(BASEDIR)
20
 
        -mkdir $(BASEDIR)/bin
21
 
        -mkdir $(BASEDIR)/config
22
 
        -mkdir $(BASEDIR)/config/jail
23
 
        -mkdir $(BASEDIR)/jails
24
 
        -mkdir $(BASEDIR)/svn
25
 
        -mkdir $(BASEDIR)/www
26
 
        -mkdir $(BASEDIR)/www/home
27
 
        -mkdir $(BASEDIR)/www/public
28
 
 
29
 
.PHONY : redhat_el5_x86_64
30
 
redhat_el5_x86_64 : $(BASEDIR)
31
 
        -mkdir $(BASEDIR)/config/jail/lib64
32
 
        cp /lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2
33
 
        cp /lib64/libc.so.6 $(BASEDIR)/config/jail/lib64/libc.so.6
34
 
        cp /lib64/libdl.so.2 $(BASEDIR)/config/jail/lib64/libdl.so.2
35
 
        cp /lib64/libm.so.6 $(BASEDIR)/config/jail/lib64/libm.so.6
36
 
        cp /lib64/libpthread.so.0 $(BASEDIR)/config/jail/lib64/libpthread.so.0
37
 
        cp /lib64/libutil.so.1 $(BASEDIR)/config/jail/lib64/libutil.so.1
38
 
        -mkdir $(BASEDIR)/config/jail/usr
39
 
        -mkdir $(BASEDIR)/config/jail/usr/bin
40
 
        cp /usr/bin/python2.4 $(BASEDIR)/config/jail/usr/bin/python2.4
41
 
        ln -s $(BASEDIR)/config/jail/usr/bin/python2.4 \
42
 
                $(BASEDIR)/config/jail/usr/bin/python
43
 
        -mkdir $(BASEDIR)/config/jail/usr/lib64
44
 
        cp /usr/lib64/libpython2.4.so.1.0 \
45
 
                $(BASEDIR)/config/jail/usr/lib64/libpython2.4.so.1.0
46
 
        -mkdir $(BASEDIR)/config/jail/usr/lib
47
 
        -mkdir $(BASEDIR)/config/jail/usr/lib/python2.4
48
 
        cp -r /usr/lib/python2.4 $(BASEDIR)/config/jail/usr/lib/
49
 
 
50
 
.PHONY : ubuntu_gibbon_i686
51
 
ubuntu_gibbon_i686 : $(BASEDIR)
52
 
        -mkdir $(BASEDIR)/config/jail/lib
53
 
        cp /lib/ld-linux.so.2 \
54
 
                $(BASEDIR)/config/jail/lib/ld-linux.so.2 
55
 
        -mkdir $(BASEDIR)/config/jail/lib/tls
56
 
        -mkdir $(BASEDIR)/config/jail/lib/tls/i686
57
 
        -mkdir $(BASEDIR)/config/jail/lib/tls/i686/cmov
58
 
        cp /lib/tls/i686/cmov/libc.so.6 \
59
 
                $(BASEDIR)/config/jail/lib/tls/i686/cmov/libc.so.6
60
 
        cp /lib/tls/i686/cmov/libdl.so.2 \
61
 
                $(BASEDIR)/config/jail/lib/tls/i686/cmov/libdl.so.2
62
 
        cp /lib/tls/i686/cmov/libm.so.6 \
63
 
                $(BASEDIR)/config/jail/lib/tls/i686/cmov/libm.so.6
64
 
        cp /lib/tls/i686/cmov/libpthread.so.0 \
65
 
                $(BASEDIR)/config/jail/lib/tls/i686/cmov/libpthread.so.0
66
 
        cp /lib/tls/i686/cmov/libutil.so.1 \
67
 
                $(BASEDIR)/config/jail/lib/tls/i686/cmov/libutil.so.1
68
 
        -mkdir $(BASEDIR)/config/jail/usr
69
 
        -mkdir $(BASEDIR)/config/jail/usr/bin
70
 
        cp /usr/bin/python2.5 \
71
 
                $(BASEDIR)/config/jail/usr/bin/python2.5
72
 
        ln -s $(BASEDIR)/config/jail/usr/bin/python2.5 \
73
 
                $(BASEDIR)/config/jail/usr/bin/python
74
 
        -mkdir $(BASEDIR)/config/jail/usr/lib
75
 
        -mkdir $(BASEDIR)/config/jail/usr/lib/python2.5
76
 
        cp -r /usr/lib/python2.5 $(BASEDIR)/config/jail/usr/lib/