Manpage for uname and dmesg
[virt-mem.git] / configure.ac
index c1475e9..c56ae27 100644 (file)
@@ -17,7 +17,7 @@
 
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT(virt-mem,0.2.0)
+AC_INIT(virt-mem,0.2.1)
 
 AC_PROG_INSTALL
 
@@ -79,12 +79,12 @@ dnl Write gettext modules for the programs.
 dnl http://www.le-gall.net/sylvain+violaine/documentation/ocaml-gettext/html/reference-manual/ch03s04.html
 for d in virt-mem; do
     f=`echo $d | tr - _`_gettext.ml
-    AC_MSG_NOTICE([creating $f])
-    rm -f $f
-    echo "(* This file is generated automatically by ./configure. *)" > $f
+    AC_MSG_NOTICE([creating lib/$f])
+    rm -f lib/$f
+    echo "(* This file is generated automatically by ./configure. *)" > lib/$f
     if test "x$pkg_gettext" != "xno"; then
         # Gettext module is available, so use it.
-        cat <<EOT >>$f
+        cat <<EOT >>lib/$f
 module Gettext = Gettext.Program (
   struct
     let textdomain = "$d"
@@ -96,7 +96,7 @@ module Gettext = Gettext.Program (
 EOT
     else
         # No gettext module is available, so fake the translation functions.
-        cat <<EOT >>$f
+        cat <<EOT >>lib/$f
 module Gettext = struct
   external s_ : string -> string = "%identity"
   external f_ : ('a -> 'b, 'c, 'd) format -> ('a -> 'b, 'c, 'd) format
@@ -133,6 +133,10 @@ echo "------------------------------------------------------------"
 dnl Produce output files.
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_FILES([Makefile
+       Make.rules
+       lib/Makefile
+       uname/Makefile
+       dmesg/Makefile
        po/Makefile
        ])
 AC_OUTPUT