From 7f0afa078b860c84ae3d178e8f90dbe94a43dab4 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 28 Feb 2012 01:01:51 +0100 Subject: 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. $<) --- src/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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) \ -- cgit v1.2.3-70-g09d2