added doxygen support
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 7 Mar 2004 22:29:51 +0000 (22:29 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 7 Mar 2004 22:29:51 +0000 (22:29 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1145 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/configure.ac
util-vserver/util-vserver.spec.in

index bbb28af..9ff4a38 100644 (file)
@@ -24,7 +24,7 @@ dnl distribution terms that you use for the rest of that program.
 dnl  
 
 AC_PREREQ(2.57)
-AC_INIT(util-vserver, 0.29.197, enrico.scholz@informatik.tu-chemnitz.de)
+AC_INIT(util-vserver, 0.29.198, enrico.scholz@informatik.tu-chemnitz.de)
 AC_CONFIG_SRCDIR([src/capchroot.c])
 AC_CONFIG_HEADER([config.h])
 
@@ -56,6 +56,7 @@ AC_PATH_PROGS(XSLTPROC, [xsltproc], [xsltproc])
 AC_PATH_PROGS(SED,      [sed],      [sed])
 AC_PATH_PROGS(CMP,      [cmp],      [cmp])
 AC_PATH_PROGS(WGET,     [wget],     [wget])
+AC_PATH_PROGS(DOXYGEN,  [doxygen],  [:])
 
 ENSC_CHECK_CC_FLAG([-std=c99 -Wall -pedantic -W])
 ENSC_CHECK_CXX_FLAG([-ansi   -Wall -pedantic -W -fmessage-length=0])
@@ -214,7 +215,7 @@ Paths:
 
 AH_BOTTOM([#include "compat.h"])
 AC_CONFIG_COMMANDS_PRE([echo "$FEATURES_TXT" >FEATURES.txt])
-AC_CONFIG_FILES([util-vserver.spec Makefile distrib/Makefile])
+AC_CONFIG_FILES([util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile])
 AC_OUTPUT
 
 AC_MSG_NOTICE([
index fd87420..5585bb8 100644 (file)
@@ -24,6 +24,7 @@ Obsoletes:    vserver < %epoch:%version
 BuildRequires: mount vconfig gawk iproute
 BuildRequires: gcc-c++ wget
 BuildRequires: e2fsprogs-devel
+BuildRequires: doxygen tetex-latex
 Requires(post):        %__chattr
 %{!?_without_dietlibc:BuildRequires:   dietlibc >= 0:0.22}
 
@@ -85,7 +86,7 @@ set_ipv4root system call.
 %build
 %configure --with-initrddir=%_initrddir --enable-release \
            %{?_without_dietlibc:--disable-dietlibc}
-%__make %{?_smp_mflags}
+%__make %{?_smp_mflags} all doc
 
 
 %install
@@ -194,6 +195,8 @@ test "$1" = 0  || %_initrddir/rebootmgr   condrestart >/dev/null || :
 
 %files devel -f %name-devel.list
 %defattr(-,root,root,-)
+%doc lib/apidoc/latex/refman.pdf
+%doc lib/apidoc/html
 
 
 %changelog