Commit 0a525c7c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Try harder to rid of this annoying dependency

parent 00fa060e
......@@ -11,7 +11,7 @@ EXTRA_DIST = extras/COPYING misc/modules_builtin.h.in
BUILT_SOURCES = $(DISTCLEANFILES) $(CLEANFILES)
DISTCLEANFILES = stamp-api libvlc.sym
CLEANFILES = misc/modules_builtin.h misc/version.c
CLEANFILES = misc/modules_builtin.h
MOSTLYCLEANFILES = $(DATA_noinst_libvlc) stamp-builtins
TOOLBOX = srcdir=$(top_srcdir) builddir=$(top_builddir) $(top_srcdir)/toolbox
......@@ -354,6 +354,10 @@ SOURCES_libvlc = \
if !USE_LIBTOOL
if !BUILD_SHARED
SOURCES_libvlc += misc/version.c
CLEANFILES += misc/version.c
misc/version.c: FORCE
$(TOOLBOX) --update-version
endif
# Install shared libvlc
......@@ -365,9 +369,6 @@ uninstall-local:
test -z "$(DATA_noinst_libvlc)" || rm -f "$(DESTDIR)$(libdir)/$(DATA_noinst_libvlc)"
endif
misc/version.c: FORCE
$(TOOLBOX) --update-version
###############################################################################
# Stamp rules
###############################################################################
......
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