diff options
Diffstat (limited to 'scripts/Makefile.am')
-rw-r--r-- | scripts/Makefile.am | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am new file mode 100644 index 0000000..9624008 --- /dev/null +++ b/scripts/Makefile.am @@ -0,0 +1,29 @@ +# +# Copyright (c) 2001, 2003, 2007, 2014 Thorsten Kukuk <kukuk@linux-nis.org> +# +AUTOMAKE_OPTIONS = 1.7 gnits +# + +CLEANFILES = *~ ${SCRIPTS} + +EXTRA_DIST = ${MANS} ${XMLS} + +varypdir = @YPMAPDIR@ + +man_MANS = pwupdate.8 ypinit.8 +XMLS = pwupdate.8.xml ypinit.8.xml + +libexec_SCRIPTS = ypxfr_1perhour ypxfr_1perday ypxfr_2perday \ + create_printcap match_printcap pwupdate ypinit + +noinst_SCRIPTS = ypMakefile + +install-data-local: + $(mkdir_p) "$(DESTDIR)$(varypdir)" + $(install_sh_DATA) $(top_builddir)/scripts/ypMakefile "$(DESTDIR)$(varypdir)/Makefile" + +if ENABLE_REGENERATE_MAN +%.8: %.8.xml + $(XMLLINT) --nonet --xinclude --postvalid --noout $< + $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) --xinclude --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< +endif |