mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-09 15:24:54 -04:00
man: fix man page generation from a VPATH
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
a80f8e027d
commit
ac303e91cf
10
Makefile.am
10
Makefile.am
@ -4,7 +4,9 @@ bin_PROGRAMS = fuse-overlayfs
|
|||||||
|
|
||||||
ACLOCAL_AMFLAGS = -Im4
|
ACLOCAL_AMFLAGS = -Im4
|
||||||
|
|
||||||
EXTRA_DIST = m4/gnulib-cache.m4 rpm/fuse-overlayfs.spec.template autogen.sh
|
EXTRA_DIST = m4/gnulib-cache.m4 rpm/fuse-overlayfs.spec.template autogen.sh fuse-overlayfs.1.md
|
||||||
|
|
||||||
|
CLEANFILES = fuse-overlayfs.1
|
||||||
|
|
||||||
fuse_overlayfs_CFLAGS = -I . -I $(abs_srcdir)/lib $(FUSE_CFLAGS)
|
fuse_overlayfs_CFLAGS = -I . -I $(abs_srcdir)/lib $(FUSE_CFLAGS)
|
||||||
fuse_overlayfs_LDFLAGS =
|
fuse_overlayfs_LDFLAGS =
|
||||||
@ -15,8 +17,10 @@ WD := $(shell pwd)
|
|||||||
|
|
||||||
man1_MANS = fuse-overlayfs.1
|
man1_MANS = fuse-overlayfs.1
|
||||||
|
|
||||||
generate-man:
|
fuse-overlayfs.1:
|
||||||
go-md2man -in fuse-overlayfs.1.md -out fuse-overlayfs.1
|
go-md2man -in $(abs_srcdir)/fuse-overlayfs.1.md -out fuse-overlayfs.1
|
||||||
|
|
||||||
|
generate-man: fuse-overlayfs.1
|
||||||
|
|
||||||
fuse-overlayfs.spec: $(srcdir)/rpm/fuse-overlayfs.spec.template
|
fuse-overlayfs.spec: $(srcdir)/rpm/fuse-overlayfs.spec.template
|
||||||
sed -e 's|#VERSION#|$(VERSION)|g' < $< > $@
|
sed -e 's|#VERSION#|$(VERSION)|g' < $< > $@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user