aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-12-06 15:06:53 -0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-12-06 15:33:01 -0200
commit7086a1ee8dda5ae34852379410432d259215ff5e (patch)
tree2f7ad69164609bad75fac4ff6cc6accf3dd6bc1e
parent577ab225929c4e8dce7d2b911eeed38469a559bb (diff)
Makefile.am: don't use relative paths for include
Those break builds like: mkdir build; cd build; ../configure; make Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rw-r--r--utils/qvidcap/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/qvidcap/Makefile.am b/utils/qvidcap/Makefile.am
index 3005de04..66038796 100644
--- a/utils/qvidcap/Makefile.am
+++ b/utils/qvidcap/Makefile.am
@@ -6,7 +6,7 @@ qvidcap_SOURCES = qvidcap.cpp qvidcap.h capture.cpp capture.h paint.cpp \
nodist_qvidcap_SOURCES = qrc_qvidcap.cpp moc_capture.cpp v4l2-convert.h
qvidcap_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la ../libv4l2util/libv4l2util.la \
../libmedia_dev/libmedia_dev.la
-qvidcap_CPPFLAGS = -I../common
+qvidcap_CPPFLAGS = -I\$(top_srcdir)/utils/common
qvidcap_CPPFLAGS += $(QTGL_CFLAGS)
qvidcap_LDFLAGS = $(QTGL_LIBS)
@@ -22,7 +22,7 @@ clean-local:
-rm -vf moc_*.cpp qrc_*.cpp qrc_*.o ui_*.h v4l2-convert.h formats.h
v4l2-convert.h: v4l2-convert.glsl v4l2-convert.pl
- perl v4l2-convert.pl v4l2-convert.glsl >$@
+ perl \$(top_srcdir)/utils/qvidcap/v4l2-convert.pl \$(top_srcdir)/utils/qvidcap/v4l2-convert.glsl >$@
paint.cpp: v4l2-convert.h

Privacy Policy