# This Makefile is only used when building Debian packages DESTDIR=/ all: install: install -d ${DESTDIR}/usr/bin install src/FeedingIt ${DESTDIR}/usr/bin install -d ${DESTDIR}/opt/FeedingIt install -d ${DESTDIR}/opt/FeedingIt/qml/i18n install -d ${DESTDIR}/opt/FeedingIt/qml/common install -d ${DESTDIR}/opt/FeedingIt/qml/common/images install -d ${DESTDIR}/opt/FeedingIt/qml install src/qml/*.qml ${DESTDIR}/opt/FeedingIt/qml install src/qml/i18n/*.qm ${DESTDIR}/opt/FeedingIt/qml/i18n install src/qml/common/*.qml ${DESTDIR}/opt/FeedingIt/qml/common install src/qml/common/images/*.{sci,png} ${DESTDIR}/opt/FeedingIt/qml/common/images install src/FeedingIt.py ${DESTDIR}/opt/FeedingIt install src/feedparser.py ${DESTDIR}/opt/FeedingIt install src/portrait.py ${DESTDIR}/opt/FeedingIt install src/rss.py ${DESTDIR}/opt/FeedingIt install src/opml.py ${DESTDIR}/opt/FeedingIt install src/config.py ${DESTDIR}/opt/FeedingIt install src/FeedingIt-Web.py ${DESTDIR}/opt/FeedingIt #install src/feedingit_status.desktop ${DESTDIR}/opt/FeedingIt install src/update_feeds.py ${DESTDIR}/opt/FeedingIt install src/updatedbus.py ${DESTDIR}/opt/FeedingIt install src/BeautifulSoup.py ${DESTDIR}/opt/FeedingIt install src/feedingitdbus.py ${DESTDIR}/opt/FeedingIt install src/aboutdialog.py ${DESTDIR}/opt/FeedingIt install src/rss_sqlite.py ${DESTDIR}/opt/FeedingIt install src/style.py ${DESTDIR}/opt/FeedingIt install src/mainthread.py ${DESTDIR}/opt/FeedingIt install src/jobmanager.py ${DESTDIR}/opt/FeedingIt install src/httpprogresshandler.py ${DESTDIR}/opt/FeedingIt install src/wc.py ${DESTDIR}/opt/FeedingIt install src/debugging.py ${DESTDIR}/opt/FeedingIt install -d ${DESTDIR}/usr/share/applications/hildon install src/FeedingIt.desktop ${DESTDIR}/usr/share/applications/hildon install -d ${DESTDIR}/usr/share/icons/hicolor/48x48/apps/ install data/48px.png ${DESTDIR}/usr/share/icons/hicolor/48x48/apps/feedingit.png install -d ${DESTDIR}/usr/share/icons/hicolor/26x26/apps/ install data/26px.png ${DESTDIR}/usr/share/icons/hicolor/26x26/apps/feedingit.png install -d ${DESTDIR}/usr/share/icons/hicolor/64x64/apps/ install data/64px.png ${DESTDIR}/usr/share/icons/hicolor/64x64/apps/feedingit.png install -d ${DESTDIR}/usr/share/dbus-1/services/ install src/feedingit.service ${DESTDIR}/usr/share/dbus-1/services/ install src/feedingit_status.service ${DESTDIR}/usr/share/dbus-1/services/ install -d ${DESTDIR}/etc/osso-backup/applications/ install src/feedingit.conf ${DESTDIR}/etc/osso-backup/applications/ install -d ${DESTDIR}/usr/share/applications/hildon-home/ install src/feedingit_widget.desktop ${DESTDIR}/usr/share/applications/hildon-home/ install -d ${DESTDIR}/usr/lib/hildon-desktop/ install src/feedingit_widget.py ${DESTDIR}/usr/lib/hildon-desktop/ #install src/feedingit_status.py ${DESTDIR}/usr/lib/hildon-desktop/ clean: rm src/*pyo rm src/*pyc sourcepkg: dpkg-buildpackage -rfakeroot -sa -S -i -I.git