File: Makefile

package info (click to toggle)
pympd 0.07-1.2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 720 kB
  • ctags: 685
  • sloc: python: 4,265; ansic: 448; makefile: 85
file content (19 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# pympd Makefile

PYTHON=`which python`
PREFIX=/usr/local
DESTDIR=/
RELEASE=lazy03
PACKAGE=pympd
all: clean trayicon.so 
	sed -i "s|PREFIX|$(PREFIX)|g" pympd
	$(PYTHON) setup.py build
	
install: all 
	make -C src/modules/tray install
	$(PYTHON) setup.py install --prefix $(PREFIX) --root $(DESTDIR)
trayicon.so:
	make -C src/modules/tray

clean:
	$(PYTHON) setup.py clean