~pyneighborhood/pyneighborhood/0.5

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: definer
  • Date: 2006-09-16 18:34:46 UTC
  • Revision ID: svn-v3-trunk0:918a6f1d-dd1c-0410-8c33-97c2c1a26c01:trunk:6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile
 
2
 
 
3
include Makefile.config
 
4
PYTHON=`which python`
 
5
DESTDIR=
 
6
 
 
7
all: addconfig.py checkmount.py config.py dialog.py getsmbshare.py mainwindow.py readconfig.py sharmount.py threads.py pyNeighborhood.py 
 
8
        $(PYTHON) ./build.py; rm -f ./build.pyc
 
9
        
 
10
install: all
 
11
        
 
12
        install -d $(DESTDIR)/$(PREFIX)/lib/pyNeighborhood
 
13
        install *.pyc $(DESTDIR)/$(PREFIX)/lib/pyNeighborhood
 
14
        
 
15
        install -d $(DESTDIR)/$(PREFIX)/bin
 
16
        install pyNeighborhood $(DESTDIR)/$(PREFIX)/bin
 
17
 
 
18
        install -d $(DESTDIR)/$(PREFIX)/share/pyNeighborhood
 
19
        install --mode=666 defaults/defaults $(DESTDIR)/$(PREFIX)/share/pyNeighborhood
 
20
 
 
21
        install -d $(DESTDIR)/$(PREFIX)/share/applications
 
22
        install --mode=666 defaults/pyNeighborhood.desktop $(DESTDIR)/$(PREFIX)/share/applications
 
23
 
 
24
        install -d $(DESTDIR)/$(PREFIX)/share/pyNeighborhood/icons
 
25
        install --mode=666 icons/*.png $(DESTDIR)/$(PREFIX)/share/pyNeighborhood/icons
 
26
 
 
27
clean:
 
28
        rm -f *.pyc
 
29
        rm -f config.py
 
30
        rm -f Makefile
 
31
        rm -f Makefile.config
 
32
        
 
33
#End of file