Commit b66b97e7 authored by Og B. Maciel's avatar Og B. Maciel

Application version is now controled via autotools; added uninstall methods, thanks to Luix Armesto

svn path=/trunk/; revision=618
parent d15c1b3c
......@@ -52,9 +52,9 @@ BillReminder 0.3.2
categories now have a border around the colored tile.
General
* Switched to distutils setup.py
* Renamed MANTAINERS to MAINTAINERS
* Added MANIFEST.in
* Added uninstall method and versioning via autotools
ref: http://bugzilla.gnome.org/show_bug.cgi?id=547768
BillReminder 0.3.1
==================
......
......@@ -29,6 +29,8 @@ else
fi
AC_SUBST(DBUS_SERVICES_DIR)
AC_SUBST(VERSION)
AM_CHECK_PYMOD([gobject], , , AC_MSG_ERROR([Python module gobject required to run BillReminder]))
AM_CHECK_PYMOD_VERSION([pysqlite2.dbapi2], [version], [2.3.0], , AC_MSG_ERROR([Python module pysqlite2 >= 2.3.0 required to run BillReminder]))
AM_CHECK_PYMOD([dbus], , , AC_MSG_ERROR([Python module dbus required to run BillReminder]))
......
......@@ -21,7 +21,7 @@ service_DATA = billreminder.service
EXTRA_DIST += $(service_in_files)
CLEANFILES = $(service_DATA)
%.service: %.service.in
billreminder.service: billreminder.service.in
sed -e s!\@bindir\@!$(bindir)! \
< $< > $@
......@@ -55,3 +55,6 @@ install-data-local:
@echo "***************************************************************"
@true
endif
uninstall-hook:
rm -fr $(configdir)
......@@ -71,7 +71,8 @@ noinst_DATA = \
EXTRA_DIST += \
$(noinst_DATA) \
$(pixmap_DATA) \
$(tango_icons)
$(tango_icons) \
$(images_DATA)
CLEANFILES =
......
......@@ -8,4 +8,5 @@ billreminder_PYTHON = \
billreminder.py \
billreminderd.py
uninstall-hook:
rm -fr $(billreminderdir)
......@@ -10,8 +10,22 @@ billreminder_lib_PYTHON = \
config.py \
dal.py \
dbus_actions.py \
defs.py \
dialogs.py \
i18n.py \
migrate_to_gconf.py \
scheduler.py \
utils.py
defs.py: defs.py.in
sed -e s!\@VERSION\@!$(VERSION)! \
< $< > $@
CLEANFILES = \
defs.py
DISTCLEANFILES = \
$(CLEANFILES)
EXTRA_DIST = \
defs.py.in
......@@ -3,11 +3,15 @@
import os
import i18n
try:
from defs import *
except:
APPVERSION = "0.3.2"
datadir = "/usr/share"
# Application info
APPNAME = "BillReminder"
APPVERSION = "0.3.2"
COPYRIGHTS = "%s - Copyright (c) 2006-2008\n" \
"Og Maciel <ogmaciel@gnome.org>" % APPNAME
WEBSITE = "http://billreminder.gnulinuxbrasil.org/"
......
# -*- coding: utf-8 -*-
APPVERSION = "@VERSION@"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment