Bug 2350 - All headers installed
Summary: All headers installed
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 0.9.3
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-21 14:45 UTC by Owen Taylor
Modified: 2005-08-22 00:15 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
selective header installation patch (2.70 KB, patch)
2005-01-21 15:16 UTC, Shawn T. Amundson
Details | Splinter Review

Description Owen Taylor 2005-01-21 14:45:03 UTC
Currently Cairo installs all headers on all platforms ... is 
that intentional?

I'd expect to see it like:

if CAIRO_HAS_PS_SURFACE
cairoinclude_HEADERS += cairo_ps.h
endif

(If you require automake-1.7 you can use += like that and simplify
the Makefile.am :-)

Cairo will automatically dist the union of the ifdef branches.
Comment 1 Shawn T. Amundson 2005-01-21 15:16:41 UTC
Created attachment 1730 [details] [review]
selective header installation patch
Comment 2 Shawn T. Amundson 2005-01-21 15:19:26 UTC
The above patch makes header installation selective.  Also, if headers are in
_HEADERS they need not be in _SOURCES; the patch also removes those headers from
_SOURCES.

-Shawn
Comment 3 Carl Worth 2005-01-24 09:11:15 UTC
Thanks for the patch Shawn.

This is now committed to CVS.
Comment 4 Carl Worth 2005-08-22 17:15:06 UTC
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.