[vlc-devel] [PATCH v3 2/9] contrib: vorbisenc: add a vorbisenc rule

Steve Lhomme robux4 at ycbcr.xyz
Fri Jul 10 10:25:14 CEST 2020


Packages should have a .sum-<PKG> .<PKG> and <PKG> rule.
---
 contrib/src/vorbis/rules.mak | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/contrib/src/vorbis/rules.mak b/contrib/src/vorbis/rules.mak
index 0990125f1d1..8e60f672b52 100644
--- a/contrib/src/vorbis/rules.mak
+++ b/contrib/src/vorbis/rules.mak
@@ -43,7 +43,11 @@ DEPS_vorbis = ogg $(DEPS_ogg)
 .sum-vorbisenc: .sum-vorbis
 	touch $@
 
+# A missing vorbisenc will trigger a vorbis build that contains vorbisenc
 DEPS_vorbisenc = vorbis $(DEPS_vorbis)
 
-.vorbisenc:
+vorbisenc: .vorbisenc
+	touch $@
+
+.vorbisenc: .sum-vorbisenc
 	touch $@
-- 
2.26.2



More information about the vlc-devel mailing list