Skip to content

Commit

Permalink
Remove pandoc as a build dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Sustrik <[email protected]>
  • Loading branch information
sustrik committed Mar 1, 2018
1 parent c473a18 commit 44aa32c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
2 changes: 0 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,7 @@ noinst_PROGRAMS += \
# manpage documentation generation #
################################################################################

if DILL_MANPAGES
SUBDIRS=man
endif

################################################################################
# additional packaging-related stuff #
Expand Down
6 changes: 0 additions & 6 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ AC_MSG_NOTICE([libdill ABI version: $DILL_ABI_VERSION])
AC_PROG_CC_C99
AM_PROG_CC_C_O

AC_PATH_PROG(PANDOC,pandoc,no)
if test "x$PANDOC" = "xno"; then
AC_MSG_WARN([pandoc not found. The manual page will not be built.])
fi
AM_CONDITIONAL([DILL_MANPAGES], [test "x$PANDOC" != "xno"])

################################################################################
# --enable-debug #
################################################################################
Expand Down
9 changes: 1 addition & 8 deletions man/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,9 @@ man3_MANS = \
udp_recv.3 \
udp_recvl.3

SUFFIXES = .md .3
SUFFIXES = .3

man-local: $(man3_MANS)

clean-local: clean-local-check

.PHONY: clean-local-check

clean-local-check:
-rm $(man3_MANS)

EXTRA_DIST = $(man3_MANS)

0 comments on commit 44aa32c

Please sign in to comment.