~pyneighborhood/pyneighborhood/0.5

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Makefile

include Makefile.config
PYTHON=`which python`
DESTDIR=

all: addconfig.py checkmount.py config.py dialog.py getsmbshare.py mainwindow.py readconfig.py sharmount.py threads.py pyNeighborhood.py 
	$(PYTHON) ./build.py; rm -f ./build.pyc
	
install: all
	
	install -d $(DESTDIR)/$(PREFIX)/lib/pyNeighborhood
	install *.pyc $(DESTDIR)/$(PREFIX)/lib/pyNeighborhood
	
	install -d $(DESTDIR)/$(PREFIX)/bin
	install pyNeighborhood $(DESTDIR)/$(PREFIX)/bin

	install -d $(DESTDIR)/$(PREFIX)/share/pyNeighborhood
	install --mode=666 defaults/defaults $(DESTDIR)/$(PREFIX)/share/pyNeighborhood

	install -d $(DESTDIR)/$(PREFIX)/share/applications
	install --mode=666 defaults/pyNeighborhood.desktop $(DESTDIR)/$(PREFIX)/share/applications

	install -d $(DESTDIR)/$(PREFIX)/share/pyNeighborhood/icons
	install --mode=666 icons/*.png $(DESTDIR)/$(PREFIX)/share/pyNeighborhood/icons

clean:
	rm -f *.pyc
	rm -f config.py
	rm -f Makefile
	rm -f Makefile.config
	
#End of file