Makefile.am revision 2c393a42
12c393a42Smrg# 
22c393a42Smrg#  $Id: Makefile.am,v 1.1.1.1 2008/07/30 01:24:25 mrg Exp $
32c393a42Smrg# 
42c393a42Smrg#  Copyright © 2003 Keith Packard
52c393a42Smrg# 
62c393a42Smrg#  Permission to use, copy, modify, distribute, and sell this software and its
72c393a42Smrg#  documentation for any purpose is hereby granted without fee, provided that
82c393a42Smrg#  the above copyright notice appear in all copies and that both that
92c393a42Smrg#  copyright notice and this permission notice appear in supporting
102c393a42Smrg#  documentation, and that the name of Keith Packard not be used in
112c393a42Smrg#  advertising or publicity pertaining to distribution of the software without
122c393a42Smrg#  specific, written prior permission.  Keith Packard makes no
132c393a42Smrg#  representations about the suitability of this software for any purpose.  It
142c393a42Smrg#  is provided "as is" without express or implied warranty.
152c393a42Smrg# 
162c393a42Smrg#  KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
172c393a42Smrg#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
182c393a42Smrg#  EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
192c393a42Smrg#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
202c393a42Smrg#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
212c393a42Smrg#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
222c393a42Smrg#  PERFORMANCE OF THIS SOFTWARE.
232c393a42Smrg
242c393a42SmrgDOC2MAN = docbook2man
252c393a42Smrg
262c393a42SmrgFC_LIST_SRC=${top_srcdir}/fc-list
272c393a42Smrg
282c393a42SmrgSGML = ${FC_LIST_SRC}/fc-list.sgml
292c393a42Smrg
302c393a42Smrgbin_PROGRAMS=fc-list
312c393a42Smrg
322c393a42SmrgINCLUDES=-I${top_srcdir} $(WARN_CFLAGS)
332c393a42Smrg
342c393a42SmrgBUILT_MANS=fc-list.1
352c393a42Smrg
362c393a42Smrgif ENABLE_DOCS
372c393a42Smrgman_MANS=${BUILT_MANS}
382c393a42Smrgendif
392c393a42Smrg
402c393a42SmrgEXTRA_DIST=fc-list.sgml $(BUILT_MANS)
412c393a42Smrg
422c393a42Smrgfc_list_LDADD = ${top_builddir}/src/libfontconfig.la
432c393a42Smrg
442c393a42Smrgif USEDOCBOOK
452c393a42Smrg
462c393a42Smrg${man_MANS}: ${SGML}
472c393a42Smrg	$(RM) $@
482c393a42Smrg	$(DOC2MAN) ${SGML}
492c393a42Smrg	$(RM) manpage.refs manpage.links
502c393a42Smrg
512c393a42Smrgall-local: $(man_MANS)
522c393a42Smrg
532c393a42Smrgclean-local:
542c393a42Smrg	$(RM) $(man_MANS)
552c393a42Smrg
562c393a42Smrgelse
572c393a42Smrgall-local:
582c393a42Smrgclean-local:
592c393a42Smrgendif
60