[vlc-commits] commit: Make sure libcompat is never empty ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sun Aug 1 12:01:22 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug  1 13:00:56 2010 +0300| [f7d33ffa576f54c2c940f5bd5fe1827ada9a6bd5] | committer: Rémi Denis-Courmont 

Make sure libcompat is never empty

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f7d33ffa576f54c2c940f5bd5fe1827ada9a6bd5
---

 compat/.gitignore  |    1 +
 compat/Makefile.am |    9 ++++++++-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/compat/.gitignore b/compat/.gitignore
new file mode 100644
index 0000000..1684c26
--- /dev/null
+++ b/compat/.gitignore
@@ -0,0 +1 @@
+dummy.c
diff --git a/compat/Makefile.am b/compat/Makefile.am
index 225ce39..5f0439b 100644
--- a/compat/Makefile.am
+++ b/compat/Makefile.am
@@ -1,4 +1,11 @@
 noinst_LTLIBRARIES = libcompat.la
-libcompat_la_SOURCES =
+libcompat_la_SOURCES = dummy.c
 libcompat_la_LIBADD = $(LTLIBOBJS)
 libcompat_la_LDFLAGS = -no-undefined
+
+BUILT_SOURCES = dummy.c
+CLEANFILES = dummy.c
+
+dummy.c:
+	rm -f dummy.c
+	echo '/* Automatically generated */' > dummy.c



More information about the vlc-commits mailing list