1XSLTPROC=@XSLTPROC@ 2XSLTPROC_FLAGS=@XSLTPROC_FLAGS@ 3MAN_STYLESHEET=$(top_srcdir)/doc/man.xsl 4CLEANFILES = 5 6MAN_MANPAGES = \ 7 ad.1 \ 8 afpldaptest.1 \ 9 afppasswd.1 \ 10 afpstats.1 \ 11 apple_dump.1 \ 12 asip-status.pl.1 \ 13 dbd.1 \ 14 macusers.1 \ 15 megatron.1 \ 16 netatalk-config.1 \ 17 uniconv.1 18 19EXTRA_DIST = \ 20 ad.1.xml \ 21 afpldaptest.1.xml \ 22 afppasswd.1.xml \ 23 afpstats.1.xml \ 24 apple_dump.1.xml \ 25 asip-status.pl.1.xml \ 26 dbd.1.xml \ 27 macusers.1.xml \ 28 megatron.1.xml \ 29 netatalk-config.1.xml \ 30 uniconv.1.xml 31 32if HAVE_XSLTPROC 33CLEANFILES += $(MAN_MANPAGES) 34 35%.1 : %.1.xml 36 @xsltproc $(MAN_STYLESHEET) $< 37 @cp $@ $(top_builddir)/man/man1/$@.in 38 39html-local: $(MAN_MANPAGES) $(MAN_STYLESHEET) 40endif 41