Commit 6b7b3932 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

dist_ is not needed for HEADERS

parent 5c1474d6
...@@ -22,7 +22,7 @@ SUFFIXES = .pc.in .pc ...@@ -22,7 +22,7 @@ SUFFIXES = .pc.in .pc
pkgincludedir = $(includedir)/vlc pkgincludedir = $(includedir)/vlc
pluginsincludedir = $(pkgincludedir)/plugins pluginsincludedir = $(pkgincludedir)/plugins
dist_pkginclude_HEADERS = \ pkginclude_HEADERS = \
../include/vlc/vlc.h \ ../include/vlc/vlc.h \
../include/vlc/common.h \ ../include/vlc/common.h \
../include/vlc/deprecated.h \ ../include/vlc/deprecated.h \
...@@ -478,7 +478,7 @@ test_headers_SOURCES = test/headers.c ...@@ -478,7 +478,7 @@ test_headers_SOURCES = test/headers.c
test_headers_CFLAGS = $(CFLAGS_tests) test_headers_CFLAGS = $(CFLAGS_tests)
check-local: check-local:
for h in `echo $(dist_pkginclude_HEADERS) $(pkginclude_HEADERS) | sed -e s,\.\./include/,,g`; \ for h in `echo $(pkginclude_HEADERS) | sed -e s,\.\./include/,,g`; \
do \ do \
echo grep - "#include <$$h>" $(srcdir)/test/headers.c ; \ echo grep - "#include <$$h>" $(srcdir)/test/headers.c ; \
if ! grep -- "#include <$$h>" $(srcdir)/test/headers.c ; \ if ! grep -- "#include <$$h>" $(srcdir)/test/headers.c ; \
...@@ -487,7 +487,7 @@ check-local: ...@@ -487,7 +487,7 @@ check-local:
exit 1; \ exit 1; \
fi ; \ fi ; \
done done
$(srcdir)/check_headers $(dist_pkginclude_HEADERS) $(pkginclude_HEADERS) $(srcdir)/check_headers $(pkginclude_HEADERS)
# Hmm, this test should not fail: # Hmm, this test should not fail:
-$(srcdir)/check_headers $(pluginsinclude_HEADERS) -$(srcdir)/check_headers $(pluginsinclude_HEADERS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment