[Devel] Patch for wscript.template

Jari Karppinen jari.p.karppinen at gmail.com
Tue Nov 1 13:17:26 PDT 2011


Hello,

I tried building the code from current svn trunk, it seems to copy also
the *.pc.in files to destdir when running ./waf install. I suppose it
isn't actually necessary, below is a patch for excluding them.

Index: wscript.template
===================================================================
--- wscript.template    (revision 338)
+++ wscript.template    (working copy)
@@ -41,7 +41,7 @@
 
     # Install bundle
     bld.install_files(bundle_dir,
-                      bld.path.ant_glob('?*.*'))
+                      bld.path.ant_glob('?*.*', excl='*.pc.in'))
 
     # Install URI-like includes
     if bld.env['COPY_HEADERS']:

BR,
Jari



More information about the Devel mailing list