12c393a42Smrg# 
2a6844aabSmrg#  fontconfig/fc-cache/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_CACHE_SRC=${top_srcdir}/fc-cache
272c393a42Smrg
282c393a42SmrgSGML = ${FC_CACHE_SRC}/fc-cache.sgml
292c393a42Smrg
302c393a42Smrgif OS_WIN32
312c393a42Smrgelse
322c393a42Smrginstall-data-local:
332c393a42Smrg	-$(mkinstalldirs) "$(DESTDIR)$(fc_cachedir)"
342c393a42Smrg
352c393a42Smrguninstall-local:
362c393a42Smrg	-$(RM) -rf "$(DESTDIR)$(fc_cachedir)"
372c393a42Smrgendif
382c393a42Smrg
39c9710b42SmrgAM_CPPFLAGS=-I${top_srcdir} -I${top_srcdir}/src $(WARN_CFLAGS)
402c393a42Smrg
412c393a42Smrgbin_PROGRAMS=fc-cache
422c393a42Smrg
432c393a42SmrgBUILT_MANS=fc-cache.1
442c393a42Smrg
452c393a42Smrgif ENABLE_DOCS
462c393a42Smrgman_MANS=${BUILT_MANS}
472c393a42Smrgendif
482c393a42Smrg
492c393a42SmrgEXTRA_DIST=fc-cache.sgml $(BUILT_MANS)
502c393a42Smrg
51ca08ab68SmrgCLEANFILES =
52ca08ab68Smrg
532c393a42Smrgfc_cache_LDADD = ${top_builddir}/src/libfontconfig.la
542c393a42Smrg
552c393a42Smrgif USEDOCBOOK
562c393a42Smrg
572c393a42Smrg${man_MANS}: ${SGML}	
58ca08ab68Smrg	$(AM_V_GEN) $(RM) $@; \
59ca08ab68Smrg	$(DOC2MAN) ${SGML}; \
60a6844aabSmrg	$(RM) manpage.*
612c393a42Smrg
622c393a42Smrgall-local: $(man_MANS)
632c393a42Smrg
64ca08ab68SmrgCLEANFILES += ${man_MANS}
652c393a42Smrgelse
662c393a42Smrgall-local:
672c393a42Smrgendif
68c9710b42Smrg
69c9710b42Smrg-include $(top_srcdir)/git.mk
70