File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ ACLOCAL_AMFLAGS = -Im4
6
6
7
7
EXTRA_DIST = m4/gnulib-cache.m4 rpm/fuse-overlayfs.spec.template autogen.sh fuse-overlayfs.1.md utils.h NEWS tests/suid-test.c plugin.h plugin-manager.h fuse-overlayfs.h fuse_overlayfs_error.h
8
8
9
- CLEANFILES = fuse-overlayfs.1
10
-
11
9
AM_CPPFLAGS = -DPKGLIBEXECDIR='"$(pkglibexecdir ) "'
12
10
13
11
fuse_overlayfs_CFLAGS = -I . -I $(abs_srcdir ) /lib $(FUSE_CFLAGS )
@@ -20,7 +18,9 @@ WD := $(shell pwd)
20
18
man1_MANS = fuse-overlayfs.1
21
19
22
20
fuse-overlayfs.1 :
21
+ if HAVE_MD2MAN
23
22
go-md2man -in $(abs_srcdir)/fuse-overlayfs.1.md -out fuse-overlayfs.1
23
+ endif HAVE_MD2MAN
24
24
25
25
generate-man : fuse-overlayfs.1
26
26
Original file line number Diff line number Diff line change @@ -69,6 +69,9 @@ void foo()
69
69
CFLAGS=$old_CFLAGS
70
70
LDFLAGS=$old_LDFLAGS
71
71
72
+ AC_PATH_PROG ( MD2MAN , go-md2man )
73
+ AM_CONDITIONAL([ HAVE_MD2MAN] , [ test "x$ac_cv_path_MD2MAN" != x] )
74
+
72
75
AC_DEFINE_UNQUOTED ( [ HAVE_FUSE_CACHE_READDIR] , $cache_readdir , [ Define if libfuse cache_readdir is available] )
73
76
AC_DEFINE_UNQUOTED ( [ HAVE_FUSE_COPY_FILE_RANGE] , $fuse_has_copy_file_range , [ Define if libfuse has copy_file_range is available] )
74
77
You can’t perform that action at this time.
0 commit comments