add qmake .pro file
[mancala] / mancala.pro
diff --git a/mancala.pro b/mancala.pro
new file mode 100644 (file)
index 0000000..ca651db
--- /dev/null
@@ -0,0 +1,36 @@
+QMAKEVERSION = $$[QMAKE_VERSION]
+ISQT4 = $$find(QMAKEVERSION, ^[2-9])
+isEmpty( ISQT4 ) {
+error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4");
+}
+
+TEMPLATE = subdirs
+SUBDIRS = src
+CONFIG += ordered
+
+DATAPATH = /opt/mancala/data
+
+40.png.path = /usr/share/icons/hicolor/40x40/apps/
+40.png.files += data/mancala.png
+
+mancala.desktop.path = /usr/share/applications/hildon
+mancala.desktop.files += data/mancala.desktop
+
+help.html.path = $${DATAPATH}/
+help.html.files += data/mancala.html
+
+rules.path = $${DATAPATH}/rules/
+rules.files += data/rules/*
+
+themes.path = $${DATAPATH}/themes/
+themes.files += data/themes/*
+
+gamelist.xml.path = $${DATAPATH}/
+gamelist.xml.files += data/gamelist.xml
+
+INSTALLS += 40.png \
+            mancala.desktop \
+            help.html \
+            rules \
+            themes \
+            gamelist.xml