aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-02-28 01:01:51 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-16 14:53:17 +0100
commit7f0afa078b860c84ae3d178e8f90dbe94a43dab4 (patch)
tree3703da9c319f1eb1dc198090a4e7bdb4a102feb1
parent0c6dad40a0926795cf33da5a4f557302a50a8639 (diff)
build: fix distcheck
Need to pass the full path of the input files to the glib-mkenums call. This is because we use an explicit list given in a $(VARIABLE) instead of the built-in automake variables (e.g. $<)
-rw-r--r--src/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 81a268de..1a017514 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -34,8 +34,8 @@ libmodem_helpers_la_SOURCES = \
# libserial specific enum types
SERIAL_ENUMS = \
- mm-port.h \
- mm-at-serial-port.h
+ $(srcdir)/mm-port.h \
+ $(srcdir)/mm-at-serial-port.h
mm-serial-enums-types.h: Makefile.am $(SERIAL_ENUMS) $(top_srcdir)/build-aux/mm-enums-template.h
$(AM_V_GEN) $(GLIB_MKENUMS) \
@@ -73,7 +73,7 @@ libserial_la_SOURCES = \
mm-qcdm-serial-port.h
# Daemon specific enum types
-DAEMON_ENUMS = mm-bearer.h
+DAEMON_ENUMS = $(srcdir)/mm-bearer.h
mm-daemon-enums-types.h: Makefile.am $(DAEMON_ENUMS) $(top_srcdir)/build-aux/mm-enums-template.h
$(AM_V_GEN) $(GLIB_MKENUMS) \