Update of /cvsroot/mod-c/ehtml
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv16225
Modified Files:
ChangeLog Makefile.am configure.in
Log Message:
Samples are optionally installable now.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/mod-c/ehtml/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ChangeLog 8 Sep 2006 21:01:29 -0000 1.5
--- ChangeLog 15 Sep 2006 10:37:05 -0000 1.6
***************
*** 1,2 ****
--- 1,6 ----
+ 2006-09-15 Matej Urbas <mat...@gm...>
+
+ * configure.in: Added support for optional installation of EHTML
+ samples.
2006-09-08 Gonzalo A. Arana <gon...@gm...>
Index: Makefile.am
===================================================================
RCS file: /cvsroot/mod-c/ehtml/Makefile.am,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Makefile.am 23 Aug 2006 16:22:36 -0000 1.4
--- Makefile.am 15 Sep 2006 10:37:05 -0000 1.5
***************
*** 1,3 ****
! SUBDIRS = src include samples $(DOXYGEN_SUBDIR)
--- 1,3 ----
! SUBDIRS = src include $(EHTML_SAMPLES) $(DOXYGEN_SUBDIR)
Index: configure.in
===================================================================
RCS file: /cvsroot/mod-c/ehtml/configure.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** configure.in 23 Aug 2006 16:12:12 -0000 1.6
--- configure.in 15 Sep 2006 10:37:05 -0000 1.7
***************
*** 111,114 ****
--- 111,134 ----
##############################################################################
+ ################ Enable building and installing of samples ################
+
+ AC_ARG_ENABLE( samples,
+ AS_HELP_STRING([--enable-samples],
+ [install EHTML samples too]),
+ [EHTML_SAMPLES="$enableval"],
+ [EHTML_SAMPLES="no"])
+
+ if test ${EHTML_SAMPLES} = "yes"; then
+ EHTML_SAMPLES="samples"
+ AC_MSG_NOTICE([Will install samples...])
+ else
+ EHTML_SAMPLES=
+ AC_MSG_NOTICE([Will not install samples...])
+ fi;
+
+ AC_SUBST(EHTML_SAMPLES)
+
+ ##############################################################################
+
AC_CONFIG_FILES([Makefile
src/Makefile
|