From 71e6ead41e1261d02417d71551e53cb65ba6f33f Mon Sep 17 00:00:00 2001 From: Paul Goins Date: Mon, 4 Oct 2010 03:00:56 +0900 Subject: [PATCH] More autoconf-related updates. --- configure.ac | 6 +++++- jben/configure.py.in | 15 +++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 8a6b80b..2f9572b 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,11 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.67]) -AC_INIT([J-Ben], [1.9.2], [general at vultaire dot net]) +AC_INIT([J-Ben], + [1.9.2], + [general at vultaire dot net], + [jben], + [http://jben.vultaire.net/]) AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_SRCDIR([kpengine/jstroke.h]) AC_CONFIG_HEADERS([config.h]) diff --git a/jben/configure.py.in b/jben/configure.py.in index d8b773e..47e67a4 100644 --- a/jben/configure.py.in +++ b/jben/configure.py.in @@ -1,4 +1,15 @@ """Script for accessing variables from configure.""" -version = """@PACKAGE_VERSION@""" -prefix = """@prefix@""" +package_name = """@PACKAGE_NAME@""" +package_version = """@PACKAGE_VERSION@""" +package_string = """@PACKAGE_STRING@""" +package_bugreport = """@PACKAGE_BUGREPORT@""" +package_url = """@PACKAGE_URL@""" + +# Installation path variables +# WANTED: A simple way to fully expand these variables automatically. +prefix = """@prefix@""" # Default: /usr/local +datarootdir = """@datarootdir@""" # Default: $(prefix)/share +datadir = """@datadir@""" # Default: $(datarootdir) + +# REMINDER: kpengine data will be stored in @datadir@/jben/kpengine/. -- 2.11.4.GIT