[sheepdog] [PATCH] build: include man/*.in to EXTRA_DIST

Kai Zhang kyle at zelin.io
Sat Jun 8 12:38:29 CEST 2013


Currently, there will be an error in the distribution directory.
After a 'make clean', 'make' will fail becuase it cannot find *.in files in
directory 'man'.

This patch fixed this.

Signed-off-by: Kai Zhang <kyle at zelin.io>
---
 man/Makefile.am |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/man/Makefile.am b/man/Makefile.am
index 8c1f46a..6962bb8 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,11 +1,13 @@
 MAINTAINERCLEANFILES    = Makefile.in
 
-dist_man_MANS = sheep.8 collie.8
+dist_man_MANS		= sheep.8 collie.8
 
 if BUILD_SHEEPFS
-dist_man_MANS += sheepfs.8
+dist_man_MANS 		+= sheepfs.8
 endif
 
+EXTRA_DIST		= sheep.8.in collie.8.in sheepfs.8.in
+
 sheep.8.options = $(shell ../sheep/sheep -h | \
 	perl -ne 'print ".TP\n.BI $$1 \"\\fR, \\fP\" $$2\n$$3\n" if /^  ([^,]+), (\S+)\s+(.+)/' | \
 	sed 's/\\/\\\\\\/g' | \
-- 
1.7.1




More information about the sheepdog mailing list