[xiph-commits] r15473 - trunk/theora
giles at svn.xiph.org
giles at svn.xiph.org
Thu Oct 30 11:27:18 PDT 2008
Author: giles
Date: 2008-10-30 11:27:18 -0700 (Thu, 30 Oct 2008)
New Revision: 15473
Modified:
trunk/theora/SConstruct
Log:
Scons build: install headers as well as libraries.
Modified: trunk/theora/SConstruct
===================================================================
--- trunk/theora/SConstruct 2008-10-30 17:59:16 UTC (rev 15472)
+++ trunk/theora/SConstruct 2008-10-30 18:27:18 UTC (rev 15473)
@@ -73,6 +73,13 @@
enc/x86_64/fdct_mmx.c
"""
+inst_headers = """
+ theora.h
+ theoradec.h
+ theoraenc.h
+ codec.h
+ """
+
## Conditional configuration machinery
# Build environment
@@ -208,6 +215,9 @@
env.Install(lib_dir, [libtheora_a, libtheora_so])
env.Install(lib_dir, [libtheoradec_a, libtheoradec_so])
env.Install(lib_dir, [libtheoraenc_a, libtheoraenc_so])
+inc_dir = join(prefix, 'include')
+env.Install( join(inc_dir, 'theora'),
+ path('include/theora', Split(inst_headers)) )
# example programs
dump_video = env.Copy()
More information about the commits
mailing list