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
|
|
|
|
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)"
|
2005-12-21 04:31:19 +01:00
|
|
|
|
2006-09-14 03:55:45 +02:00
|
|
|
INCLUDES=-I${top_srcdir} -I${top_srcdir}/src $(FREETYPE_CFLAGS) $(WARN_CFLAGS)
|
2003-02-24 18:18:50 +01:00
|
|
|
|
|
|
|
bin_PROGRAMS=fc-cache
|
|
|
|
|
2006-02-05 05:11:08 +01:00
|
|
|
EXTRA_DIST=fc-cache.sgml
|
2003-03-07 21:04:13 +01:00
|
|
|
|
2006-04-07 20:07:51 +02:00
|
|
|
fc_cache_LDADD = $(FREETYPE_LIBS) $(LIBXML2_LIBS) $(EXPAT_LIBS) ${top_builddir}/src/libfontconfig.la
|
2003-10-09 20:21:49 +02:00
|
|
|
|
|
|
|
if USEDOCBOOK
|
2003-12-11 20:30:07 +01:00
|
|
|
|
|
|
|
man_MANS=fc-cache.1
|
|
|
|
|
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
|