0c4a421ff5a7563f1dc456be7270a977a3dfc5d2
[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 src/FeedingIt.py ${DESTDIR}/opt/FeedingIt
12         install src/feedparser.py ${DESTDIR}/opt/FeedingIt
13         install src/portrait.py ${DESTDIR}/opt/FeedingIt
14         install src/rss.py ${DESTDIR}/opt/FeedingIt
15         install src/opml.py ${DESTDIR}/opt/FeedingIt
16         install src/config.py ${DESTDIR}/opt/FeedingIt
17         #install src/feedingit_status.desktop ${DESTDIR}/opt/FeedingIt
18         install src/update_feeds.py ${DESTDIR}/opt/FeedingIt
19         install src/updatedbus.py ${DESTDIR}/opt/FeedingIt
20         install src/BeautifulSoup.py ${DESTDIR}/opt/FeedingIt
21         install src/feedingitdbus.py ${DESTDIR}/opt/FeedingIt
22         install -d ${DESTDIR}/usr/share/applications/hildon
23         install src/FeedingIt.desktop ${DESTDIR}/usr/share/applications/hildon
24         install -d ${DESTDIR}/usr/share/icons/hicolor/48x48/apps/
25         install data/48px.png ${DESTDIR}/usr/share/icons/hicolor/48x48/apps/feedingit.png
26         install -d ${DESTDIR}/usr/share/icons/hicolor/26x26/apps/
27         install data/26px.png ${DESTDIR}/usr/share/icons/hicolor/26x26/apps/feedingit.png
28         install -d ${DESTDIR}/usr/share/icons/hicolor/64x64/apps/
29         install data/64px.png ${DESTDIR}/usr/share/icons/hicolor/64x64/apps/feedingit.png
30         install -d ${DESTDIR}/usr/share/dbus-1/services/
31         install src/feedingit.service ${DESTDIR}/usr/share/dbus-1/services/
32         install src/feedingit_status.service ${DESTDIR}/usr/share/dbus-1/services/
33         install -d ${DESTDIR}/etc/osso-backup/applications/
34         install src/feedingit.conf ${DESTDIR}/etc/osso-backup/applications/
35         install -d ${DESTDIR}/usr/share/applications/hildon-home/
36         install src/feedingit_widget.desktop ${DESTDIR}/usr/share/applications/hildon-home/
37         install -d ${DESTDIR}/usr/lib/hildon-desktop/
38         install src/feedingit_widget.py ${DESTDIR}/usr/lib/hildon-desktop/
39         #install src/feedingit_status.py ${DESTDIR}/usr/lib/hildon-desktop/
40         
41         
42 clean:
43         rm src/*pyo
44         
45 sourcepkg:
46         dpkg-buildpackage -rfakeroot -sa -S -i -I.git