Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 9110bc035bb6c8835fbf13b511e8ef4c241632e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
pythondir = $(shell python -c "from distutils import sysconfig; print sysconfig.get_python_lib()")

all clean:
	$(MAKE) -C pongc $@

install: all
	./setup.py fix_manifest
	sed -i /^pongc/d MANIFEST
	./setup.py install --prefix=$(DESTDIR)/usr
	for i in __init__.py _pongc.so pongc.py; do \
		install -m 644 -D pongc/$$i $(DESTDIR)/$(pythondir)/pongc/$$i; \
	done