~adek336/+junk/haikugnash

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Adrian Panasiuk
  • Date: 2010-02-13 00:13:46 UTC
  • Revision ID: adek336@gmail.com-20100213001346-pxth2fbbpt4hvhqy
include user settings file at ~/config/settings/Gnash/

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
 
54
54
plugin: gnash/plugin/plugin.cpp gnash/plugin/plugin.h
55
55
        pushd gnash/plugin ; \
56
 
        mkdir -p .libs ; \
 
56
        mkdir -pv .libs ; \
57
57
        unzip -o ../../misc/x.zip ; \
58
58
        for GCC_VERSION in gcc2 gcc4 ; do       \
59
59
                setgcc $$GCC_VERSION && \
83
83
        \
84
84
        mkdir -pv "$$TMPDIR" ; \
85
85
        cd gnash ; \
86
 
        mkdir -p "$$TMPDIR/boot/apps/Gnash" ; \
 
86
        mkdir -pv "$$TMPDIR/boot/apps/Gnash" ; \
87
87
        install plugin/.libs/libgnashplugin.gcc?.so "$$TMPDIR/boot/apps/Gnash" ; \
88
88
        make install DESTDIR="$$TMPDIR" ; \
89
89
        cd .. ; \
90
90
        \
 
91
        mkdir -pv "$$TMPDIR/boot/home/config/settings/Gnash" ; \
 
92
        echo 'set sound on' > "$$TMPDIR/boot/home/config/settings/Gnash/gnashrc" ; \
91
93
        mkdir -pv "$$TMPDIR/boot/home/Desktop" ;        \
92
 
        echo -e 'set sound on\n' > "$$TMPDIR/boot/home/.gnashrc" ; \
93
94
        cp README "$$TMPDIR/boot/home/Desktop/Gnash-README" ;   \
94
95
        chmod +x misc/install-gnash-deps ; \
95
96
        cp misc/install-gnash-deps "$$TMPDIR/boot/home/Desktop/install-gnash-deps" ; \
102
103
        rm -r apps/Gnash/dumpshm apps/Gnash/flvdumper apps/Gnash/gprocessor \
103
104
                apps/Gnash/soldumper apps/Gnash/gnash ; \
104
105
        \
105
 
        mkdir -p common/bin ; \
 
106
        mkdir -pv common/bin ; \
106
107
        ln -s /boot/apps/Gnash/gnash common/bin/gnash ; \
107
108
        ln -s /boot/apps/Gnash/gnash common/bin/haiku-gnash ; \
108
 
        mkdir -p home/config/settings/Mozilla/plugins ; \
 
109
        mkdir -pv home/config/settings/Mozilla/plugins ; \
109
110
        ln -s /boot/apps/Gnash/libgnashplugin.gcc?.so home/config/settings/Mozilla/plugins/ ; \
110
111
        \
111
112
        strip --strip-debug apps/Gnash/haiku-gnash ; \