Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.7 docs #3

Open
wants to merge 10 commits into
base: hashpipe-1.7-devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
tags
doxygen1
doxygen3
doxygen7
doxyfile1.stamp
doxyfile3.stamp
doxyfile7.stamp
docs/*
Empty file added docs/.directory
Empty file.
38 changes: 38 additions & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ hashpipe_base = hashpipe.h \
hashpipe_udp.c

hashpipe_exec = hashpipe.c \
hashpipe_decls.h \
hashpipe_thread_args.h \
hashpipe_thread_args.c \
null_output_thread.c
Expand Down Expand Up @@ -68,6 +69,7 @@ libhashpipe_la_LIBADD = libhashpipestatus.la

include_HEADERS = fitshead.h \
hashpipe.h \
hashpipe_decls.h \
hashpipe_databuf.h \
hashpipe_error.h \
hashpipe_packet.h \
Expand All @@ -91,3 +93,39 @@ install-exec-hook:
chmod u+s $(DESTDIR)$(bindir)/hashpipe$(EXEEXT)

# vi: set ts=8 noet :
if HAVE_DOXYGEN
directory1 = $(top_srcdir)/../docs/man/man1/*
directory3 = $(top_srcdir)/../docs/man/man3/*
directory7 = $(top_srcdir)/../docs/man/man7/*

man1_MANS = $(directory1)
man3_MANS = $(directory3)
man7_MANS = $(directory7)

$(directory1): doxyfile1.stamp

$(directory3): doxyfile3.stamp

$(directory7): doxyfile7.stamp

doxyfile1.stamp: doxygen1
$(DOXYGEN) $^
echo Timestamp > $@

doxyfile3.stamp: doxygen3
$(DOXYGEN) $^
echo Timestamp > $@

doxyfile7.stamp: doxygen7
$(DOXYGEN) $^
echo Timestamp > $@

CLEANFILES = doxyfile1.stamp doxyfile3.stamp doxyfile7.stamp

clean-local: clean-local-doxygen

all-local: doxyfile1.stamp doxyfile3.stamp doxyfile7.stamp
clean-local-doxygen:
-rm -rf $(top_srcdir)/../docs/man

endif
11 changes: 10 additions & 1 deletion src/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.65])
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
AC_INIT([hashpipe], [1.7-dev], [BUG-REPORT-ADDRESS])
AM_INIT_AUTOMAKE([foreign])
LT_INIT
AM_SILENT_RULES([yes])
Expand Down Expand Up @@ -44,6 +44,15 @@ AC_TYPE_UINT64_T
AC_FUNC_MALLOC
AC_CHECK_FUNCS([floor gettimeofday memset socket strchr strerror strrchr strtol strtoul strtoull])

AC_CHECK_PROGS([DOXYGEN], [doxygen])
if test -z "$DOXYGEN"; then
AC_MSG_WARN([Doxygen not found - continue without Doxygen support])
fi
AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([doxygen1])])
AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([doxygen3])])
AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([doxygen7])])

# Report results
build_hpibv="will NOT"
if test "${ac_cv_lib_ibverbs_ibv_get_device_list}" = "yes"
Expand Down
Loading