Added the what's after the credits provider, with a simple (too simple!!) implementation.
[maevies] / Makefile.am
index 98f3438..8ea279f 100644 (file)
@@ -1,30 +1,39 @@
-# Copyright (c) 2007-2008 INdT, (c) 2009 Nokia.
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU Lesser General Public License for more details.
-#
-#  You should have received a copy of the GNU Lesser General Public License
-#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# List extras to package
+EXTRA_DIST = \
+        autogen.sh \
+        debian/postinst \
+        debian/copyright \
+        debian/control \
+        debian/rules \
+               debian/changelog \
+               debian/postinst \
+               src/*
 
-AUTOMAKE_OPTIONS = foreign
+# Sub directories
+SUBDIRS = data po
 
-SUBDIRS = src po
+# Includes
+INCLUDES = $(DEPS_CFLAGS) $(HILDON_CFLAGS) $(OSSO_CFLAGS)
 
-INTLTOOL_FILES = intltool-extract.in \
-                 intltool-merge.in \
-                 intltool-update.in
+# Binary
+bin_PROGRAMS = \
+        maevies
+# /Binary
 
-EXTRA_DIST = $(INTLTOOL_FILES) \
-        debian/changelog \
-        debian/control \
-        debian/copyright \
-               debian/compat \
-        debian/rules \
-               src/*
+# Sources
+maevies_SOURCES = \
+        src/main.c \
+        src/extra_scenes_provider.c \
+               src/watc_provider.c
+# /Sources
+
+# LDADD
+maevies_LDADD = \
+        $(DEPS_LIBS) $(HILDON_LIBS) $(OSSO_LIBS)
+# /LDADD
 
+deb: dist
+       -mkdir $(top_builddir)/debian-build
+       cd $(top_builddir)/debian-build && tar zxf ../$(top_builddir)/$(PACKAGE)-$(VERSION).tar.gz
+       cd $(top_builddir)/debian-build/$(PACKAGE)-$(VERSION) && dpkg-buildpackage -rfakeroot
+       rm -rf $(top_builddir)/debian-build/$(PACKAGE)-$(VERSION)