diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2008-12-28 01:55:02 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2008-12-28 01:55:02 (GMT) |
commit | 1fa7d6e05c6042f507587ee0f5251101110e675a (patch) | |
tree | bfca7eeafd92a3fdd8f6a1e14328b0af948067e8 /Makefile | |
parent | 310687f48af7263c76e0032926f4526c16e87778 (diff) |
add Makefile for non-XO install
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fa80764 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +# non-XO installl + +pythondir = $(shell python -c "from distutils import sysconfig; print sysconfig.get_python_lib()") + +TamTamEdit TamTamJam TamTamMini TamTamSynthLab: + sed -i '/Resources/d; /Clooper/d' $@.activity/MANIFEST + cd $@.activity && python setup.py build + cd $@.activity && python setup.py install --prefix=$(DESTDIR)/usr + +all clean: + $(MAKE) -C common/Util/Clooper $@ + +install: + install -Dm 0644 common/Util/Clooper/aclient.so $(DESTDIR)/$(pythondir)/tamtam/aclient.so + touch $(DESTDIR)/$(pythondir)/tamtam/__init__.py + cd common/Resources && find -type f ! -name '*.py' -exec install -Dm 0644 {} $(DESTDIR)/usr/share/tamtam/{} \; |