2 # Makefile for Klaudia #
3 # ---------------------- #
13 # Generate python code from QtDesigner UI files
14 pykdeuic4
-o .
/src
/ui_klaudia.py .
/src
/klaudia.ui
15 # Klaudia Hacks (read: bug in KDE)
16 sed
"s/from PyKDE4 import kdeui/from PyKDE4 import kdeui, kio/" -i src
/ui_klaudia.py
17 sed
"s/QtGui.KFile/kio.KFile/" -i src
/ui_klaudia.py
20 rm -f src
/ui_
*.py src
/*.pyc src
/*~
*~
24 install -d
$(DESTDIR
)/usr
/bin
/
25 install -d
$(DESTDIR
)/usr
/share
/applications
/
26 install -d
$(DESTDIR
)/usr
/share
/icons
/hicolor
/16x16
/apps
/
27 install -d
$(DESTDIR
)/usr
/share
/icons
/hicolor
/32x32
/apps
/
28 install -d
$(DESTDIR
)/usr
/share
/icons
/hicolor
/48x48
/apps
/
29 install -d
$(DESTDIR
)/usr
/share
/icons
/hicolor
/128x128
/apps
/
30 install -d
$(DESTDIR
)/usr
/share
/kde4
/apps
/klaudia
/src
/
31 install -d
$(DESTDIR
)/usr
/share
/kde4
/apps
/klaudia
/icons
/
32 install -d
$(DESTDIR
)/usr
/share
/kde4
/apps
/klaudia
/templates
/
34 install -m
655 klaudia
$(DESTDIR
)/usr
/bin
/
35 install -m
644 klaudia.desktop
$(DESTDIR
)/usr
/share
/applications
/
36 install -m
644 art
/16.png
$(DESTDIR
)/usr
/share
/icons
/hicolor
/16x16
/apps
/klaudia.png
37 install -m
644 art
/32.png
$(DESTDIR
)/usr
/share
/icons
/hicolor
/32x32
/apps
/klaudia.png
38 install -m
644 art
/48.png
$(DESTDIR
)/usr
/share
/icons
/hicolor
/48x48
/apps
/klaudia.png
39 install -m
644 art
/128.png
$(DESTDIR
)/usr
/share
/icons
/hicolor
/128x128
/apps
/klaudia.png
40 install -m
655 src
/*.py
$(DESTDIR
)/usr
/share
/kde4
/apps
/klaudia
/src
/
41 cp
-r icons
/* $(DESTDIR
)/usr
/share
/kde4
/apps
/klaudia
/icons
/
42 cp
-r templates
/* $(DESTDIR
)/usr
/share
/kde4
/apps
/klaudia
/templates
/