1# -*- Mode: Makefile -*-
2#
3# Makefile.am - top level automake file for Raptor
4#
5# Copyright (C) 2000-2013 David Beckett http://www.dajobe.org/
6# Copyright (C) 2000-2005 University of Bristol, UK http://www.bristol.ac.uk/
7#
8# This package is Free Software and part of Redland http://librdf.org/
9#
10# It is licensed under the following three licenses as alternatives:
11#   1. GNU Lesser General Public License (LGPL) V2.1 or any newer version
12#   2. GNU General Public License (GPL) V2 or any newer version
13#   3. Apache License, V2.0 or any newer version
14#
15# You may not use this file except in compliance with at least one of
16# the above three licenses.
17#
18# See LICENSE.html or LICENSE.txt at the top of this package for the
19# complete terms and further detail along with the license texts for
20# the licenses in COPYING.LIB, COPYING and LICENSE-2.0.txt respectively.
21#
22#
23
24
25SUBDIRS = librdfa src utils docs data tests examples scripts
26
27pkgconfigdir = $(libdir)/pkgconfig
28pkgconfig_DATA = raptor2.pc
29
30EXTRA_DIST=\
31CMakeLists.txt \
32ChangeLog.1 ChangeLog.2 ChangeLog.3 ChangeLog.4 ChangeLog.5 \
33ChangeLog.6 ChangeLog.7 ChangeLog.8 ChangeLog.9 ChangeLog.10 ChangeLog.11 \
34ChangeLog.12 ChangeLog.13 ChangeLog.14 \
35README                LICENSE.txt \
36README.html NEWS.html LICENSE.html INSTALL.html \
37README-cmake.md \
38RELEASE.html \
39LICENSE-2.0.txt NOTICE \
40UPGRADING.html \
41raptor2.rdf.in \
42autogen.sh \
43raptor2.spec.in \
44raptor2.pc.in
45
46if RELEASE_VERSION
47EXTRA_DIST += raptor2.spec
48endif
49
50DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
51
52if MAINTAINER_MODE
53
54# Create some text files from HTML sources
55LYNX=lynx
56HTML_TO_TEXT=TERM=vt100 $(LYNX) -dump -nolist
57
58SUFFIXES = .html .txt
59
60.html.txt:
61	$(HTML_TO_TEXT) $< > $@
62
63$(srcdir)/README: $(srcdir)/README.html
64	$(HTML_TO_TEXT) $< > $@
65
66$(srcdir)/NEWS: $(srcdir)/NEWS.html
67	$(HTML_TO_TEXT) $< > $@
68
69endif
70
71# Some people need a little help ;-)
72test: check
73