~lool/xdeb/dont-load-apt-cache-on-import

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
clean:
	-find -name \*.pyc | xargs -r rm -f

# pychecker can get confused if modules aren't passed in the right order.
check:
	if which pychecker >/dev/null 2>&1; then \
		pychecker \
			config.py \
			tsort.py \
			utils.py \
			aptutils.py \
			tree.py \
			xdeb.py; \
	fi

install:
	install -d $(DESTDIR)/usr/bin $(DESTDIR)/usr/lib/xdeb
	install -m644 *.py $(DESTDIR)/usr/lib/xdeb/
	chmod +x $(DESTDIR)/usr/lib/xdeb/xdeb.py
	ln -s /usr/lib/xdeb/xdeb.py $(DESTDIR)/usr/bin/xdeb