Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 7689e23bdda11e3587b09e30462712464c3af74a (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 colorsc $@

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