Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 8b9aef55697e0bdc738541676185b391f32633d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 -Dsm 0755 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/{} \;