Skip to content

Commit

Permalink
Merge pull request #8 from IndexBraille/feature/fix-subdir-build
Browse files Browse the repository at this point in the history
Removed distrubution of generated file liblouis.h.
  • Loading branch information
egli committed Jun 26, 2014
2 parents 7c55519 + d8fc9e4 commit 808aa92
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions liblouis/Makefile.am
@@ -1,9 +1,14 @@
liblouisincludedir = $(includedir)/liblouis

liblouisinclude_HEADERS = \
liblouis.h \
louis.h

# Don't include liblouis.h in dist, this will break subdir builds
# when dist is configured with a different ucs-option than the build,
# i.e. ucs2 dist and ucs4 build and vice versa.
nodist_liblouisinclude_HEADERS = \
liblouis.h

lib_LTLIBRARIES = liblouis.la

AM_CPPFLAGS = -DTABLESDIR=\""$(datadir)"/liblouis/tables\"
Expand All @@ -16,8 +21,13 @@ liblouis_la_SOURCES = \
lou_backTranslateString.c \
compileTranslationTable.c \
louis.h \
liblouis.h \
logging.c \
lou_translateString.c \
transcommon.ci \
wrappers.c

# Don't include liblouis.h in dist, this will break subdir builds
# when dist is configured with a different ucs-option than the build,
# i.e. ucs2 dist and ucs4 build and vice versa.
nodist_liblouis_la_SOURCES = \
liblouis.h

0 comments on commit 808aa92

Please sign in to comment.