[lwatch-cvs] files configure.ac,1.11,1.12
Brought to you by:
arturcz
|
From: <ar...@us...> - 2003-03-15 18:44:39
|
Update of /cvsroot/lwatch/files
In directory sc8-pr-cvs1:/tmp/cvs-serv9199
Modified Files:
configure.ac
Log Message:
- any sufficiently advanced technology is indistinguishable from magic;
a new manual rebuilding logic is really magic, for me too
Index: configure.ac
===================================================================
RCS file: /cvsroot/lwatch/files/configure.ac,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** configure.ac 15 Mar 2003 14:47:27 -0000 1.11
--- configure.ac 15 Mar 2003 18:44:36 -0000 1.12
***************
*** 13,37 ****
# Checks for manual building
- AC_PATH_PROG(dbook2man,[docbook-to-man],[no])
- AC_CHECK_FILE([${srcdir}/distributed-package],[ac_check_dist="yes"],[ac_check_dist="no"])
-
AC_MSG_CHECKING(for manual rebuild)
AC_ARG_ENABLE(manual,
AC_HELP_STRING(
[--enable-manual],
! [Building manual from sgml, require docbook-to-man]),
[],[enable_manual="yes"]
)
AC_MSG_RESULT($enable_manual)
if test "$enable_manual" = "yes"; then
! if test "$ac_check_dist" = "yes"; then
! if test "$dbook2man" = "no"; then
AC_MSG_ERROR([docbook-to-man not found, cannot build manual])
! fi
! else
! if test "$dbook2man" = "no"; then
! AC_MSG_ERROR([docbook-to-man not found, cannot prepare manual])
! fi
fi
fi
--- 13,48 ----
# Checks for manual building
AC_MSG_CHECKING(for manual rebuild)
AC_ARG_ENABLE(manual,
AC_HELP_STRING(
[--enable-manual],
! [Build manual]),
[],[enable_manual="yes"]
)
AC_MSG_RESULT($enable_manual)
+ AC_PATH_PROG(dbook2man,[docbook-to-man],[no])
+ AC_CHECK_FILE([${srcdir}/distributed-package],[ac_check_dist="yes"],[ac_check_dist="no"])
+
+ # Sorry, this is only in polish
+ # Primo: enable/disable manual okre¶la, czy w ogóle chcê mieæ manual
+ # Mogê zrobiæ pakiet bez manuala, ale to za bardzo nie ma sensu
+ # Opcja liczy siê wtedy, kiedy instaluje siê program bezpo¶rednio z CVSu
+ # Przy robieniu tarballa zawsze trzeba w³±czyæ tam lwatch.1.in i w tym celu
+ # trzeba mieæ jaki¶ stuff do przerobienia sgml->man
+ # Alogorytm sprawdzania, co z manualem wygl±da nastêpuj±co:
+ # Sprawdzamy, czy w ogóle chcemy robiæ manual (--enable-manual - default)
+ # Je¿eli robimy manual, to sprawdzamy resztê - czy pakiet i czy jest soft
+ # Zg³aszaj±c odpowiednie b³êdy
+ # Je¿eli nie robimy manuala, to trzeba odpowiednio przygotowaæ target
+ # dla dist, coby wywala³o b³±d
+
if test "$enable_manual" = "yes"; then
! if test "$dbook2man" = "no"; then
! if test "$ac_check_dist" = "yes"; then
AC_MSG_ERROR([docbook-to-man not found, cannot build manual])
! else
! AC_MSG_ERROR([docbook-to-man not found, cannot prepare manual for tarball])
! fi
fi
fi
|