When creating a closure, correctly capture any required local state.
[feedingit] / Makefile
1 # This Makefile is only used when building Debian packages
2
3 DESTDIR=/
4
5 all:
6
7 install:
8         install -d ${DESTDIR}/usr/bin
9         install src/FeedingIt ${DESTDIR}/usr/bin
10         install -d ${DESTDIR}/opt/FeedingIt
11         install -d ${DESTDIR}/opt/FeedingIt/qml/i18n
12         install -d ${DESTDIR}/opt/FeedingIt/qml/common
13         install -d ${DESTDIR}/opt/FeedingIt/qml/common/images
14         install -d ${DESTDIR}/opt/FeedingIt/qml
15         install src/qml/*.qml ${DESTDIR}/opt/FeedingIt/qml
16         install src/qml/i18n/*.qm ${DESTDIR}/opt/FeedingIt/qml/i18n
17         install src/qml/common/*.qml ${DESTDIR}/opt/FeedingIt/qml/common
18         install src/qml/common/images/*.{sci,png} ${DESTDIR}/opt/FeedingIt/qml/common/images
19         install src/FeedingIt.py ${DESTDIR}/opt/FeedingIt
20         install src/feedparser.py ${DESTDIR}/opt/FeedingIt
21         install src/portrait.py ${DESTDIR}/opt/FeedingIt
22         install src/rss.py ${DESTDIR}/opt/FeedingIt
23         install src/opml.py ${DESTDIR}/opt/FeedingIt
24         install src/config.py ${DESTDIR}/opt/FeedingIt
25         install src/FeedingIt-Web.py ${DESTDIR}/opt/FeedingIt
26         #install src/feedingit_status.desktop ${DESTDIR}/opt/FeedingIt
27         install src/update_feeds.py ${DESTDIR}/opt/FeedingIt
28         install src/updatedbus.py ${DESTDIR}/opt/FeedingIt
29         install src/BeautifulSoup.py ${DESTDIR}/opt/FeedingIt
30         install src/feedingitdbus.py ${DESTDIR}/opt/FeedingIt
31         install src/aboutdialog.py ${DESTDIR}/opt/FeedingIt
32         install src/rss_sqlite.py ${DESTDIR}/opt/FeedingIt
33         install src/style.py ${DESTDIR}/opt/FeedingIt
34         install src/mainthread.py ${DESTDIR}/opt/FeedingIt
35         install src/jobmanager.py ${DESTDIR}/opt/FeedingIt
36         install src/httpprogresshandler.py ${DESTDIR}/opt/FeedingIt
37         install src/wc.py ${DESTDIR}/opt/FeedingIt
38         install src/debugging.py ${DESTDIR}/opt/FeedingIt
39         install -d ${DESTDIR}/usr/share/applications/hildon
40         install src/FeedingIt.desktop ${DESTDIR}/usr/share/applications/hildon
41         install -d ${DESTDIR}/usr/share/icons/hicolor/48x48/apps/
42         install data/48px.png ${DESTDIR}/usr/share/icons/hicolor/48x48/apps/feedingit.png
43         install -d ${DESTDIR}/usr/share/icons/hicolor/26x26/apps/
44         install data/26px.png ${DESTDIR}/usr/share/icons/hicolor/26x26/apps/feedingit.png
45         install -d ${DESTDIR}/usr/share/icons/hicolor/64x64/apps/
46         install data/64px.png ${DESTDIR}/usr/share/icons/hicolor/64x64/apps/feedingit.png
47         install -d ${DESTDIR}/usr/share/dbus-1/services/
48         install src/feedingit.service ${DESTDIR}/usr/share/dbus-1/services/
49         install src/feedingit_status.service ${DESTDIR}/usr/share/dbus-1/services/
50         install -d ${DESTDIR}/etc/osso-backup/applications/
51         install src/feedingit.conf ${DESTDIR}/etc/osso-backup/applications/
52         install -d ${DESTDIR}/usr/share/applications/hildon-home/
53         install src/feedingit_widget.desktop ${DESTDIR}/usr/share/applications/hildon-home/
54         install -d ${DESTDIR}/usr/lib/hildon-desktop/
55         install src/feedingit_widget.py ${DESTDIR}/usr/lib/hildon-desktop/
56         #install src/feedingit_status.py ${DESTDIR}/usr/lib/hildon-desktop/
57         
58         
59 clean:
60         rm src/*pyo
61         rm src/*pyc
62         
63 sourcepkg:
64         dpkg-buildpackage -rfakeroot -sa -S -i -I.git