1 AC_INIT( [diplom], [0.1], [http://bugzilla.altlinux.ru] )
4 AC_HELP_STRING([--with-aptconf=file],
5 [custom apt.conf location, e.g '--with-aptconf=/home/user/apt.conf']),
7 AC_MSG_CHECKING([apt.conf file])
8 if test -r "$with_aptconf" ; then
9 APTCONF="$with_aptconf"
10 AC_MSG_RESULT(["$with_aptconf exists"])
14 APTCONF=/etc/apt/apt.conf
17 AC_HELP_STRING([--with-license=suffix],
18 [alt-license-suffix setting, e.g '--with-license=lite']),
20 if test -n "$with_license" ; then
21 LICENSE="$with_license"
29 AC_HELP_STRING([--with-arch=arch],
30 [arch setting, e.g '--with-license=i586']),
32 if test -n "$with_arch" ; then
34 if [ ! "$ARCH" = 'i586' ] ; then
44 AC_HELP_STRING([--with-theme=theme],
45 [theme setting, e.g '--with-theme=lite']),
47 if test -n "$with_theme" ; then
49 INSTALLER_ICONS="$with_theme"
54 INSTALLER_ICONS="lite"
57 AC_HELP_STRING([--with-outdir=dir],
58 [custom output files location, e.g '--with-outdir=/home/user/out/']),
60 AC_MSG_CHECKING([outdir])
61 if test -d "$with_outdir"; then
63 AC_MSG_RESULT(["$with_outdir exists"])
67 OUTDIR=`pwd`/profiles/out
71 AC_HELP_STRING([--with-mkimage=dir],
72 [custom mkimage prefix, e.g '--with-mkimage=/home/user/']),
74 AC_MSG_CHECKING([mkimage])
75 if test -d "$with_mkimage/usr/share/mkimage"; then
76 MKI_PREFIX="$with_mkimage"
77 AC_MSG_RESULT(["$with_mkimage/usr/share/mkimage exists"])
92 AC_SUBST(INSTALLER_ICONS)
99 profiles/install2/Makefile
100 profiles/diplom-base/Makefile
101 profiles/diplom-disk/Makefile
102 profiles/rescue/Makefile