Makefile.am revision 5a3d36df
1# 2# Copyright © 2003 Keith Packard, Noah Levitt 3# 4# Permission to use, copy, modify, distribute, and sell this software and its 5# documentation for any purpose is hereby granted without fee, provided that 6# the above copyright notice appear in all copies and that both that 7# copyright notice and this permission notice appear in supporting 8# documentation, and that the name of Keith Packard not be used in 9# advertising or publicity pertaining to distribution of the software without 10# specific, written prior permission. Keith Packard makes no 11# representations about the suitability of this software for any purpose. It 12# is provided "as is" without express or implied warranty. 13# 14# KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16# EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20# PERFORMANCE OF THIS SOFTWARE. 21 22SUBDIRS=src 23 24libXfontincludedir = $(includedir)/X11/fonts 25libXfontinclude_HEADERS = \ 26 include/X11/fonts/bdfint.h \ 27 include/X11/fonts/bitmap.h \ 28 include/X11/fonts/bufio.h \ 29 include/X11/fonts/fntfil.h \ 30 include/X11/fonts/fntfilio.h \ 31 include/X11/fonts/fntfilst.h \ 32 include/X11/fonts/fontencc.h \ 33 include/X11/fonts/fontmisc.h \ 34 include/X11/fonts/fontshow.h \ 35 include/X11/fonts/fontutil.h \ 36 include/X11/fonts/fontxlfd.h \ 37 include/X11/fonts/pcf.h \ 38 src/FreeType/ft.h \ 39 src/FreeType/ftfuncs.h 40nodist_libXfontinclude_HEADERS = \ 41 include/X11/fonts/fontconf.h 42 43pkgconfigdir = $(libdir)/pkgconfig 44pkgconfig_DATA = xfont.pc 45 46MAINTAINERCLEANFILES = ChangeLog INSTALL 47 48.PHONY: ChangeLog INSTALL 49 50INSTALL: 51 $(INSTALL_CMD) 52 53ChangeLog: 54 $(CHANGELOG_CMD) 55 56dist-hook: ChangeLog INSTALL 57 58# Developer documentation - not installed on system 59EXTRA_DIST = doc/fontlib.xml doc/fontlib.xsl doc/fontlib.css 60 61if ENABLE_DEVEL_DOCS 62if HAVE_XMLTO 63noinst_DATA = doc/fontlib.txt doc/fontlib.html $(srcdir)/doc/fontlib.css 64if HAVE_FOP 65noinst_DATA += doc/fontlib.pdf doc/fontlib.ps 66endif 67CLEANFILES = doc/fontlib.txt doc/fontlib.html doc/fontlib.pdf doc/fontlib.ps 68 69doc/fontlib.txt: $(srcdir)/doc/fontlib.xml $(srcdir)/doc/fontlib.xsl 70 $(AM_V_GEN)$(XMLTO) -m $(srcdir)/doc/fontlib.xsl -o doc txt $(srcdir)/doc/fontlib.xml 71 72doc/fontlib.html: $(srcdir)/doc/fontlib.xml $(srcdir)/doc/fontlib.xsl 73 $(AM_V_GEN)$(XMLTO) -m $(srcdir)/doc/fontlib.xsl -o doc xhtml-nochunks $(srcdir)/doc/fontlib.xml 74 75doc/fontlib.pdf: $(srcdir)/doc/fontlib.xml $(srcdir)/doc/fontlib.xsl 76 $(AM_V_GEN)$(XMLTO) --with-fop -m $(srcdir)/doc/fontlib.xsl -o doc pdf $(srcdir)/doc/fontlib.xml 77 78doc/fontlib.ps: $(srcdir)/doc/fontlib.xml $(srcdir)/doc/fontlib.xsl 79 $(AM_V_GEN)$(XMLTO) --with-fop -m $(srcdir)/doc/fontlib.xsl -o doc ps $(srcdir)/doc/fontlib.xml 80endif HAVE_XMLTO 81endif ENABLE_DEVEL_DOCS 82