[libav-commits] build: Include HEADERS-yes in the HEADERS variable

Martin Storsjö git at libav.org
Thu Oct 25 17:36:17 CEST 2012


Module: libav
Branch: master
Commit: 121604b024cfd04644a9aa6012bd0e9a48efbd9f

Author:    Martin Storsjö <martin at martin.st>
Committer: Martin Storsjö <martin at martin.st>
Date:      Thu Oct 25 17:13:06 2012 +0300

build: Include HEADERS-yes in the HEADERS variable

This makes sure the previously always installed public header
lzo.h is installed if the LZO functionality is enabled.

Signed-off-by: Martin Storsjö <martin at martin.st>

---

 Makefile   |    2 +-
 common.mak |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 07df538..1f73a0a 100644
--- a/Makefile
+++ b/Makefile
@@ -102,7 +102,7 @@ config.h: .config
 	@-tput sgr0 2>/dev/null
 
 SUBDIR_VARS := CLEANFILES EXAMPLES FFLIBS HOSTPROGS TESTPROGS TOOLS      \
-               ARCH_HEADERS BUILT_HEADERS SKIPHEADERS                    \
+               HEADERS ARCH_HEADERS BUILT_HEADERS SKIPHEADERS            \
                ARMV5TE-OBJS ARMV6-OBJS ARMVFP-OBJS NEON-OBJS             \
                ALTIVEC-OBJS VIS-OBJS                                     \
                MMX-OBJS YASM-OBJS                                        \
diff --git a/common.mak b/common.mak
index dd9f4cb..c4d2999 100644
--- a/common.mak
+++ b/common.mak
@@ -23,6 +23,7 @@ HOSTPROGS := $(HOSTPROGS:%=$(SUBDIR)%$(HOSTEXESUF))
 TOOLS     += $(TOOLS-yes)
 TOOLOBJS  := $(TOOLS:%=tools/%.o)
 TOOLS     := $(TOOLS:%=tools/%$(EXESUF))
+HEADERS   += $(HEADERS-yes)
 
 DEP_LIBS := $(foreach NAME,$(FFLIBS),lib$(NAME)/$($(CONFIG_SHARED:yes=S)LIBNAME))
 



More information about the libav-commits mailing list