Skip to content

Commit

Permalink
Removed unused (obsolete) docs
Browse files Browse the repository at this point in the history
The docs hasn't been kept up to date, and this is no longer a
public library.

Change-Id: I19d1cda22c65e0b515a381cbc0eef6a35ba10c10
Reviewed-on: http://review.couchbase.org/26095
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
  • Loading branch information
trondn committed May 6, 2013
1 parent 026c79a commit 408057e
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 1,979 deletions.
1,551 changes: 0 additions & 1,551 deletions Doxyfile

This file was deleted.

60 changes: 1 addition & 59 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,70 +16,12 @@
ACLOCAL_AMFLAGS = -I m4 --force

bin_PROGRAMS = vbuckettool vbucketkeygen
EXTRA_DIST = docs Doxyfile LICENSE README.markdown src/rfc1321 NMakefile
EXTRA_DIST = LICENSE README.markdown src/rfc1321 NMakefile

pkginclude_HEADERS = \
include/libvbucket/vbucket.h \
include/libvbucket/visibility.h

man_MANS =
if BUILD_DOCS
man_MANS += libvbucket.3lib \
libvbucket.4 \
vbucket_config_destroy.3vbucket \
vbucket_config_get_num_replicas.3vbucket \
vbucket_config_get_num_servers.3vbucket \
vbucket_config_get_num_vbuckets.3vbucket \
vbucket_config_get_server.3vbucket \
vbucket_config_parse_file.3vbucket \
vbucket_config_parse_string.3vbucket \
vbucket_get_error.3vbucket \
vbucket_get_master.3vbucket \
vbucket_get_replica.3vbucket \
vbucket_get_vbucket_by_key.3vbucket
endif

CLEANFILES= ${man_MANS}

libvbucket.3lib: docs/libvbucket.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

libvbucket.4: docs/fileformat.pod
${POD2MAN} -c "$*" -r "" -s 4 $< $@

vbucket_config_parse_file.3vbucket: docs/allocation.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_config_parse_string.3vbucket: docs/allocation.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_config_destroy.3vbucket: docs/allocation.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_get_error.3vbucket: docs/misc.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_config_get_num_replicas.3vbucket: docs/config.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_config_get_num_vbuckets.3vbucket: docs/config.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_config_get_num_servers.3vbucket: docs/config.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_config_get_server.3vbucket: docs/config.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_get_vbucket_by_key.3vbucket: docs/vbucket.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_get_master.3vbucket: docs/vbucket.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_get_replica.3vbucket: docs/vbucket.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

noinst_LTLIBRARIES = libketama.la libcrc32.la

lib_LTLIBRARIES = libvbucket.la
Expand Down
21 changes: 0 additions & 21 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,6 @@ AC_SEARCH_LIBS(floor, m)
AC_SEARCH_LIBS(pow, m)
AC_SEARCH_LIBS(fabs, m)

AC_ARG_WITH([docs],
[AS_HELP_STRING([--with-docs],
[Generate documentation (yes|no) @<:@default=yes@:>@])],
[with_docs=$withval],
[with_docs=yes])

AC_PATH_PROG(POD2MAN, pod2man, missing)
AS_IF([test "$with_docs" = "yes" -a "$POD2MAN" = "missing" ],
[ AC_MSG_ERROR([pod2man is required for building docs])])
AM_CONDITIONAL(BUILD_DOCS, test "$with_docs" = "yes")

AC_CHECK_HEADERS_ONCE([stdint.h])
AS_IF([test "x$ac_cv_header_stdint_h" != "xyes"],
[AC_MSG_ERROR(Failed to locate stdint.h)])
Expand All @@ -68,13 +57,3 @@ dnl ----------------------------------------------------------------------------

AC_CONFIG_FILES(Makefile libvbucket.pc)
AC_OUTPUT
AS_IF(test "$with_docs" = "no",
[
echo "*****"
echo "*"
echo "* WARNING: You are not generating any documentation."
echo "* Please don't ship libvbucket to an end user"
echo "* without documentation..."
echo "*"
echo "*****"
])
43 changes: 0 additions & 43 deletions docs/allocation.pod

This file was deleted.

51 changes: 0 additions & 51 deletions docs/config.pod

This file was deleted.

105 changes: 0 additions & 105 deletions docs/fileformat.pod

This file was deleted.

82 changes: 0 additions & 82 deletions docs/libvbucket.pod

This file was deleted.

Loading

0 comments on commit 408057e

Please sign in to comment.