aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xu/Makefile
blob: 6b31fd1f8bf6da8e83e378dbdf9d65d11aa09eea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
all:
	python setup.py build

install: all
	if [ "$(prefix)" = "" ]; then                   \
	    python setup.py install;                    \
	elif [ "$(dist)" = "yes" ]; then                \
	    python setup.py install --home="$(prefix)"; \
	else                                            \
	    python setup.py install --root="$(prefix)"; \
	fi

clean:
	rm -rf build *.pyc *.pyo *.a *.so *.o *~ *.rpm