File: configure.in

package info (click to toggle)
polyxmass-doc 0.9.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 6,912 kB
  • ctags: 99
  • sloc: sh: 3,620; makefile: 196
file content (74 lines) | stat: -rw-r--r-- 2,299 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
dnl Process this file with autoconf to produce a configure script.
AC_INIT(polyxmass-doc, 0.9.0, [polyxmass-bugs at polyxmass dot org])
dnl remove this line, because package is not to be specific for any
dnl architecture, so we do not want this macro to be performed: it 
dnl would conflict with the "BuildArchitectures: noarch" that sits
dnl in the spec.in file !
dnl ----- > AC_CANONICAL_TARGET

AC_CONFIG_SRCDIR(configure.in)

AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)

AC_COPYRIGHT([Copyright 2002,2003,2004,2005,2006 Filippo Rusconi])

dnl Set PACKAGE PREFIXES
if test "x${prefix}" = "xNONE"; then
  packageprefix=${ac_default_prefix}
else
  packageprefix=${prefix}
fi

DOCDIR="${packageprefix}/share/doc/${PACKAGE}"
AC_DEFINE_UNQUOTED(DOCDIR,"$DOCDIR", [package doc dir])
AC_SUBST(DOCDIR)

PXMDOCVERSION=AC_PACKAGE_VERSION
AC_DEFINE_UNQUOTED(PXMDOCVERSION,"$PXMDOCVERSION", [documentation version])
AC_SUBST(PXMDOCVERSION)

PXMBINVERSION=0.9.6
AC_DEFINE_UNQUOTED(PXMBINVERSION,"$PXMVERSION", [polyxmass version])
AC_SUBST(PXMBINVERSION)

PXMCOMMONVERSION=0.8.7
AC_DEFINE_UNQUOTED(PXMCOMMONVERSION,"$PXMCOMMONVERSION", \
	[polyxmass-common version])
AC_SUBST(PXMCOMMONVERSION)

PXMDATAVERSION=0.8.7
AC_DEFINE_UNQUOTED(PXMDATAVERSION,"$PXMDATAVERSION", \
	[polyxmass-common version])
AC_SUBST(PXMDATAVERSION)


AC_CONFIG_FILES([
Makefile
userman/Makefile
userman/pxm-macros.tex
userman/figures/Makefile
userman/figures/vector/Makefile
userman/figures/raster/Makefile
])
AC_OUTPUT


dnl ####################################################################
dnl Summary
dnl ####################################################################

echo ""
echo "====================== Final configuration ========================"
echo "    Package name                    : ${PACKAGE}"
echo "    Installing package  into prefix : ${packageprefix}"
echo ""
echo "                Documentation  dir  : ${DOCDIR}"
echo ""
echo " If all settings are OK, type make and then make install" 
echo ""
echo " Note that compiling sucessfully the LaTeX files into "
echo " a usable user manual is not trivial."
echo " If you are unsuccessful, then just load the manual from the"
echo " http://www.polyxmass.org site."
echo ""
echo "==================================================================="