summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/libxara/Makefile.am4
-rw-r--r--src/lib/Makefile.am4
2 files changed, 3 insertions, 5 deletions
diff --git a/inc/libxara/Makefile.am b/inc/libxara/Makefile.am
index d6c4379..9996f3a 100644
--- a/inc/libxara/Makefile.am
+++ b/inc/libxara/Makefile.am
@@ -1,6 +1,8 @@
## -*- Mode: make; tab-width: 4; indent-tabs-mode: tabs -*-
-EXTRA_DIST = \
+libxaradir = $(includedir)/libxara-@XARA_MAJOR_VERSION@.@XARA_MINOR_VERSION@/libxara
+
+dist_libxara_HEADERS = \
libxara.h \
XaraDocument.h
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 94aed7e..c6e5ee8 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -7,10 +7,6 @@ version_info = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
endif
lib_LTLIBRARIES = libxara-@XARA_MAJOR_VERSION@.@XARA_MINOR_VERSION@.la
-libxara_@XARA_MAJOR_VERSION@_@XARA_MINOR_VERSION@_includedir = $(includedir)/libxara-@XARA_MAJOR_VERSION@.@XARA_MINOR_VERSION@/libxara
-libxara_@XARA_MAJOR_VERSION@_@XARA_MINOR_VERSION@_include_HEADERS = \
- $(top_srcdir)/inc/libxara/XaraDocument.h \
- $(top_srcdir)/inc/libxara/libxara.h
AM_CXXFLAGS = \
-DLIBXARA_BUILD=1 \