Revision 2799,
1.4 KB
checked in by yasumichi, 14 years ago
(diff) |
画像ディレクトリを他のパッケージに渡せるようにした。
|
Line | |
---|
1 | # -*- Autoconf -*- |
---|
2 | # Process this file with autoconf to produce a configure script. |
---|
3 | |
---|
4 | AC_PREREQ([2.65]) |
---|
5 | AC_INIT([vine-manual-base], [0.1], [http://vinelinux.org/bts.html]) |
---|
6 | AM_INIT_AUTOMAKE([no-dist-gzip dist-bzip2 tar-ustar]) |
---|
7 | |
---|
8 | # Checks for programs. |
---|
9 | AC_PATH_PROG(MKTEMP, mktemp) |
---|
10 | AS_IF(test -z $MKTEMP, AC_MSG_ERROR([Cannot find mktemp.])) |
---|
11 | |
---|
12 | # Checks for libraries. |
---|
13 | |
---|
14 | # Checks for header files. |
---|
15 | |
---|
16 | # Checks for typedefs, structures, and compiler characteristics. |
---|
17 | |
---|
18 | # Checks for library functions. |
---|
19 | |
---|
20 | # Define variables |
---|
21 | if test "x${prefix}" = "xNONE"; then |
---|
22 | prefix=${ac_default_prefix} |
---|
23 | fi |
---|
24 | DATADIR=`eval echo ${datadir}` |
---|
25 | |
---|
26 | CVSDATA=`eval echo ${DATADIR}/vine-manual-base`/doc-list.csv |
---|
27 | AC_SUBST(CVSDATA) |
---|
28 | |
---|
29 | TEMPLATE=`eval echo ${DATADIR}/vine-manual-base`/index.html |
---|
30 | AC_SUBST(TEMPLATE) |
---|
31 | |
---|
32 | VMDIR=`eval echo ${DATADIR}/doc/Vine-manual` |
---|
33 | AC_SUBST(VMDIR) |
---|
34 | |
---|
35 | INDEX=`eval echo ${VMDIR}/index.html` |
---|
36 | AC_SUBST(INDEX) |
---|
37 | |
---|
38 | CSSDIR=`eval echo ${VMDIR}/css` |
---|
39 | AC_SUBST(CSSDIR) |
---|
40 | |
---|
41 | CSS=`eval echo ${CSSDIR}/vine.css` |
---|
42 | AC_SUBST(CSS) |
---|
43 | |
---|
44 | IMAGEDIR=`eval echo ${DATADIR}/doc/Vine-manual/images` |
---|
45 | AC_SUBST(IMAGEDIR) |
---|
46 | |
---|
47 | AC_CONFIG_FILES([Makefile |
---|
48 | vine-manual-base.spec |
---|
49 | bin/Makefile |
---|
50 | bin/vine-manual-index-update |
---|
51 | bin/vine-manual-regist |
---|
52 | css/Makefile |
---|
53 | data/Makefile |
---|
54 | data/index.html |
---|
55 | data/vine-manual-base.pc |
---|
56 | doc/Makefile |
---|
57 | doc/index.html |
---|
58 | images/Makefile]) |
---|
59 | |
---|
60 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.