From e902f43df746d9483242a7987785f2b0c2771aef Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Sun, 3 Feb 2013 18:27:17 -0500 Subject: [PATCH] Oops. Fix 'make install' to install the manual page. Was only testing 'make distcheck' before. :| --- Makefile.am | 2 +- doc/Makefile.am | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9c7161e8..04ec8851 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,4 +23,4 @@ version: changelog distcheck-hook: $(MAKE) -C src $(MAKE) -C tests tests - $(MAKE) -C doc pwmd.man + $(MAKE) -C doc diff --git a/doc/Makefile.am b/doc/Makefile.am index 84667b8f..241dfdd4 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -16,10 +16,9 @@ commands.texi: extract-help-text.awk $(top_srcdir)/src/commands.c $(srcdir)/pwmd.info: commands.texi -pwmd.1: - touch $(srcdir)/pwmd.1 - -pwmd.man: yat2m pwmd.texi - $(top_builddir)/doc/yat2m --source 'Password Manager Daemon' \ +pwmd.1: yat2m pwmd.texi + if test ! -f $(top_srcdir)/doc/pwmd.1; then \ + $(top_srcdir)/doc/yat2m --source 'Password Manager Daemon' \ --release @VERSION@ $(top_srcdir)/doc/pwmd.texi \ - > $(top_srcdir)/doc/pwmd.1 + > $(top_srcdir)/doc/pwmd.1; \ + fi -- 2.11.4.GIT