Parcourir la source

Make sure that b10-auth man page is installed (regression just in this
branch).
Also uncomment if ENABLE_MAN in recurse makefile so only regen the
.8 (roff) file if that was configured at configure time.
(And remove an empty line.)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3664 e5f2f494-b856-4b98-b285-d166d9295462

Jeremy C. Reed il y a 14 ans
Parent
commit
b82835940c
2 fichiers modifiés avec 5 ajouts et 4 suppressions
  1. 3 1
      src/bin/auth/Makefile.am
  2. 2 3
      src/bin/recurse/Makefile.am

+ 3 - 1
src/bin/auth/Makefile.am

@@ -18,12 +18,14 @@ pkglibexecdir = $(libexecdir)/@PACKAGE@
 
 
 CLEANFILES = *.gcno *.gcda auth.spec spec_config.h
 CLEANFILES = *.gcno *.gcda auth.spec spec_config.h
 
 
-if ENABLE_MAN
 man_MANS = b10-auth.8
 man_MANS = b10-auth.8
 EXTRA_DIST = $(man_MANS) b10-auth.xml
 EXTRA_DIST = $(man_MANS) b10-auth.xml
 
 
+if ENABLE_MAN
+
 b10-auth.8: b10-auth.xml
 b10-auth.8: b10-auth.xml
 	xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-auth.xml
 	xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-auth.xml
+
 endif
 endif
 
 
 auth.spec: auth.spec.pre
 auth.spec: auth.spec.pre

+ 2 - 3
src/bin/recurse/Makefile.am

@@ -18,16 +18,15 @@ pkglibexecdir = $(libexecdir)/@PACKAGE@
 
 
 CLEANFILES = *.gcno *.gcda recurse.spec spec_config.h
 CLEANFILES = *.gcno *.gcda recurse.spec spec_config.h
 
 
-
 man_MANS = b10-recurse.8
 man_MANS = b10-recurse.8
 EXTRA_DIST = $(man_MANS) b10-recurse.xml
 EXTRA_DIST = $(man_MANS) b10-recurse.xml
 
 
-# if ENABLE_MAN
+if ENABLE_MAN
 
 
 b10-recurse.8: b10-recurse.xml
 b10-recurse.8: b10-recurse.xml
 	xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-recurse.xml
 	xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-recurse.xml
 
 
-# endif
+endif
 
 
 recurse.spec: recurse.spec.pre
 recurse.spec: recurse.spec.pre
 	$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" recurse.spec.pre >$@
 	$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" recurse.spec.pre >$@