Makefile.am revision b3062210
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
46EXTRA_DIST = xfont.pc.in ChangeLog include/X11/fonts/fontconf.h.in
47
48.PHONY: ChangeLog
49
50ChangeLog:
51	$(CHANGELOG_CMD)
52
53dist-hook: ChangeLog
54
55# Developer documentation - not installed on system
56EXTRA_DIST += doc/fontlib.xml doc/fontlib.xsl doc/fontlib.css
57
58if MAKE_DEVEL_DOCS
59if HAVE_XMLTO
60noinst_DATA = doc/fontlib.txt doc/fontlib.html $(srcdir)/doc/fontlib.css
61CLEANFILES = doc/fontlib.txt doc/fontlib.html doc/fontlib.pdf doc/fontlib.ps
62
63doc/fontlib.txt: $(srcdir)/doc/fontlib.xml $(srcdir)/doc/fontlib.xsl
64	$(AM_V_GEN)$(XMLTO) -m $(srcdir)/doc/fontlib.xsl -o doc txt $(srcdir)/doc/fontlib.xml
65
66doc/fontlib.html: $(srcdir)/doc/fontlib.xml $(srcdir)/doc/fontlib.xsl
67	$(AM_V_GEN)$(XMLTO) -m $(srcdir)/doc/fontlib.xsl -o doc xhtml-nochunks $(srcdir)/doc/fontlib.xml
68
69doc/fontlib.pdf: $(srcdir)/doc/fontlib.xml $(srcdir)/doc/fontlib.xsl
70	$(AM_V_GEN)$(XMLTO) -m $(srcdir)/doc/fontlib.xsl -o doc pdf $(srcdir)/doc/fontlib.xml
71
72doc/fontlib.ps: $(srcdir)/doc/fontlib.xml $(srcdir)/doc/fontlib.xsl
73	$(AM_V_GEN)$(XMLTO) -m $(srcdir)/doc/fontlib.xsl -o doc ps $(srcdir)/doc/fontlib.xml
74endif HAVE_XMLTO
75endif MAKE_DEVEL_DOCS
76