12c393a42Smrg# 
2a6844aabSmrg#  fontconfig/fc-list/Makefile.am
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
10ca08ab68Smrg#  documentation, and that the name of the author(s) not be used in
112c393a42Smrg#  advertising or publicity pertaining to distribution of the software without
12ca08ab68Smrg#  specific, written prior permission.  The authors make no
132c393a42Smrg#  representations about the suitability of this software for any purpose.  It
142c393a42Smrg#  is provided "as is" without express or implied warranty.
152c393a42Smrg# 
16a6844aabSmrg#  THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
172c393a42Smrg#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18a6844aabSmrg#  EVENT SHALL THE AUTHOR(S) 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
32c9710b42SmrgAM_CPPFLAGS=-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
42ca08ab68SmrgCLEANFILES =
43ca08ab68Smrg
442c393a42Smrgfc_list_LDADD = ${top_builddir}/src/libfontconfig.la
452c393a42Smrg
462c393a42Smrgif USEDOCBOOK
472c393a42Smrg
482c393a42Smrg${man_MANS}: ${SGML}
49ca08ab68Smrg	$(AM_V_GEN) $(RM) $@; \
50ca08ab68Smrg	$(DOC2MAN) ${SGML}; \
51a6844aabSmrg	$(RM) manpage.*
522c393a42Smrg
532c393a42Smrgall-local: $(man_MANS)
542c393a42Smrg
55ca08ab68SmrgCLEANFILES += ${man_MANS}
562c393a42Smrgelse
572c393a42Smrgall-local:
582c393a42Smrgendif
59c9710b42Smrg
60c9710b42Smrg-include $(top_srcdir)/git.mk
61