mirror of https://github.com/nirenjan/libx52.git
util: Remove generated file from distribution tarball
util_char_map.c is generated at compile time by the Python script x52_char_map_gen.py from the configuration x52_char_map.cfg. However, because it was listed in libx52util_la_SOURCES, it was getting added to the distribution. In addition, removing it from the distribution caused `make distcheck` to fail, since the generation script was called relative to the current directory, instead of relative to `$(srcdir)`. This commit also fixes that issue.feature/alt_lookup_engine
parent
56faafca1e
commit
8892b3ef7e
|
@ -4,7 +4,7 @@ lib_LTLIBRARIES = libx52util.la
|
||||||
|
|
||||||
# libx52 utility library
|
# libx52 utility library
|
||||||
# This library provides extra utilities for ease of use
|
# This library provides extra utilities for ease of use
|
||||||
libx52util_la_SOURCES = util_char_map.c
|
nodist_libx52util_la_SOURCES = util_char_map.c
|
||||||
libx52util_la_CFLAGS = -I $(top_srcdir)/libx52
|
libx52util_la_CFLAGS = -I $(top_srcdir)/libx52
|
||||||
libx52util_la_LDFLAGS = -version-info 1:0:0
|
libx52util_la_LDFLAGS = -version-info 1:0:0
|
||||||
libx52util_la_LIBADD = ../libx52/libx52.la
|
libx52util_la_LIBADD = ../libx52/libx52.la
|
||||||
|
@ -21,4 +21,4 @@ EXTRA_DIST = x52_char_map.cfg \
|
||||||
# Autogenerated file that needs to be cleaned up
|
# Autogenerated file that needs to be cleaned up
|
||||||
CLEANFILES = util_char_map.c
|
CLEANFILES = util_char_map.c
|
||||||
util_char_map.c: $(srcdir)/x52_char_map.cfg x52_char_map_gen.py
|
util_char_map.c: $(srcdir)/x52_char_map.cfg x52_char_map_gen.py
|
||||||
$(AM_V_GEN) ./x52_char_map_gen.py $(srcdir)/x52_char_map.cfg $@
|
$(AM_V_GEN) $(srcdir)/x52_char_map_gen.py $(srcdir)/x52_char_map.cfg $@
|
||||||
|
|
Loading…
Reference in New Issue