commit a77903c9966763710b6ec7500228274cc73a8aa0 from: Thomas Adam date: Sun Sep 24 11:24:13 2023 UTC portable: add --enable-cvg flag Just while cvg is being developed, mask the building of this via a flag to ./configure -- this is not intended to be used by any packagers, but rather, provide a means for developers for testing. This flag will go away once cvg is considered releasable. commit - e34f3591b54460db74aa6ba430682df828722094 commit + a77903c9966763710b6ec7500228274cc73a8aa0 blob - b8000e27971d78a31cc39fdde505eac729d271c3 blob + f70d1888f682891cebb56adf7153cc57827a5048 --- Makefile.am +++ Makefile.am @@ -5,6 +5,10 @@ SUBDIRS = compat libexec got tog gotadmin template got if GOTD_ENABLED SUBDIRS += gotd gotsh gotctl gitwrapper +endif + +if CVG_ENABLED +SUBDIRS += cvg endif include $(top_builddir)/Makefile.common blob - 24fac9fc2983a5613885c8e2154d8af4ce715c4f blob + c81f778c8820771b2047b6cb9688e7e0c241ed67 --- configure.ac +++ configure.ac @@ -23,6 +23,9 @@ AC_CANONICAL_HOST AC_CONFIG_SUBDIRS([template]) AC_ARG_ENABLE([gotd], AS_HELP_STRING([--enable gotd], [build gotd and gotsh])) +AC_ARG_ENABLE([cvg], + AS_HELP_STRING([--enable cvg], + [EXPERIMENTAL: cvg - cvs-like-git])) # Override gotd's empty_path location. AC_ARG_WITH([gotd-empty-path], @@ -894,10 +897,10 @@ LIBS="" AH_BOTTOM([#include "got_compat2.h"]) AM_CONDITIONAL([GOTD_ENABLED], [test "x$enable_gotd" = xyes]) +AM_CONDITIONAL([CVG_ENABLED], [test "x$enable_cvg" = xyes]) AC_CONFIG_FILES([Makefile compat/Makefile - cvg/Makefile libexec/Makefile libexec/got-read-tree/Makefile libexec/got-fetch-pack/Makefile @@ -924,6 +927,10 @@ if test "x$enable_gotd" = "xyes"; then AC_CONFIG_FILES([gotctl/Makefile]) fi +if test "x$enable_cvg" = "xyes"; then + AC_CONFIG_FILES([cvg/Makefile]) +fi + AC_OUTPUT executables="$(eval echo ${exec_prefix}/bin)"