2003-02-24 18:18:50 +01:00
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
2004-12-07 02:14:46 +01:00
|
|
|
# Copyright © 2003 Keith Packard
|
2003-02-24 18:18:50 +01:00
|
|
|
#
|
|
|
|
# Permission to use, copy, modify, distribute, and sell this software and its
|
|
|
|
# documentation for any purpose is hereby granted without fee, provided that
|
|
|
|
# the above copyright notice appear in all copies and that both that
|
|
|
|
# copyright notice and this permission notice appear in supporting
|
|
|
|
# documentation, and that the name of Keith Packard not be used in
|
|
|
|
# advertising or publicity pertaining to distribution of the software without
|
|
|
|
# specific, written prior permission. Keith Packard makes no
|
|
|
|
# representations about the suitability of this software for any purpose. It
|
|
|
|
# is provided "as is" without express or implied warranty.
|
|
|
|
#
|
|
|
|
# KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
|
|
|
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
|
|
|
# EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
|
|
|
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
|
|
|
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
|
|
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
|
# PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
|
2003-10-09 20:21:49 +02:00
|
|
|
DOC2MAN = docbook2man
|
2003-10-27 07:30:29 +01:00
|
|
|
|
|
|
|
FC_CACHE_SRC=${top_srcdir}/fc-cache
|
|
|
|
|
|
|
|
SGML = ${FC_CACHE_SRC}/fc-cache.sgml
|
2003-10-09 20:21:49 +02:00
|
|
|
|
2007-11-14 01:41:55 +01:00
|
|
|
if OS_WIN32
|
|
|
|
else
|
2006-01-31 08:30:23 +01:00
|
|
|
install-data-local:
|
2006-09-01 03:14:45 +02:00
|
|
|
-$(mkinstalldirs) "$(DESTDIR)$(fc_cachedir)"
|
2005-12-12 14:46:45 +01:00
|
|
|
|
2006-01-31 08:30:23 +01:00
|
|
|
uninstall-local:
|
2006-09-01 03:14:45 +02:00
|
|
|
-$(RM) -rf "$(DESTDIR)$(fc_cachedir)"
|
2007-11-14 01:41:55 +01:00
|
|
|
endif
|
2005-12-21 04:31:19 +01:00
|
|
|
|
2008-01-08 21:34:19 +01:00
|
|
|
INCLUDES=-I${top_srcdir} -I${top_srcdir}/src $(WARN_CFLAGS)
|
2003-02-24 18:18:50 +01:00
|
|
|
|
|
|
|
bin_PROGRAMS=fc-cache
|
|
|
|
|
2008-04-18 20:52:41 +02:00
|
|
|
BUILT_MANS=fc-cache.1
|
2007-10-25 10:26:09 +02:00
|
|
|
|
2008-04-18 20:52:41 +02:00
|
|
|
if ENABLE_DOCS
|
|
|
|
man_MANS=${BUILT_MANS}
|
|
|
|
endif
|
|
|
|
|
|
|
|
EXTRA_DIST=fc-cache.sgml $(BUILT_MANS)
|
2003-03-07 21:04:13 +01:00
|
|
|
|
2008-01-08 21:34:19 +01:00
|
|
|
fc_cache_LDADD = ${top_builddir}/src/libfontconfig.la
|
2003-10-09 20:21:49 +02:00
|
|
|
|
|
|
|
if USEDOCBOOK
|
2003-12-11 20:30:07 +01:00
|
|
|
|
2003-12-12 18:07:55 +01:00
|
|
|
${man_MANS}: ${SGML}
|
2003-10-09 20:21:49 +02:00
|
|
|
$(RM) $@
|
2003-10-27 07:30:29 +01:00
|
|
|
$(DOC2MAN) ${SGML}
|
2003-10-09 20:21:49 +02:00
|
|
|
$(RM) manpage.refs manpage.links
|
2003-12-12 18:07:55 +01:00
|
|
|
|
2003-10-09 20:21:49 +02:00
|
|
|
all-local: $(man_MANS)
|
2003-12-12 18:07:55 +01:00
|
|
|
|
2003-10-09 20:21:49 +02:00
|
|
|
clean-local:
|
|
|
|
$(RM) $(man_MANS)
|
2003-12-12 18:07:55 +01:00
|
|
|
|
2003-10-09 20:21:49 +02:00
|
|
|
else
|
|
|
|
all-local:
|
|
|
|
clean-local:
|
|
|
|
endif
|