Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: TheTuxKeeper on June 08, 2006, 09:29:35 pm
-
I wanted to ask which files/headers belong to the SDK ? Or can someone add an option to install them to the autotools building system ?
If I knew what has to be installed I would try to add it to autotools myself and submit a patch.
It would be much more easy to create linux packages if everything is handled by autotools. But a file list would be enough atm (or a link, I didn't find anything in the wiki).
I need it because I'm rewriting/extending my spec file for RC3, so that there will be subpackages available (main, devel, contrib and debuginfo) out of one source package if possible. But two separate packages for C::B and the SDK wouldn't be a problem either (can be handled by one spec file/.src.rpm too ;) )
Thank you :)
Daniel
-
All *.h files under sdk/ (recursive). Exception is the sdk/wxscintilla/ directory where only sdk/wxscintilla/include/wx/wxscintilla.h is needed.
-
All *.h files under sdk/ (recursive). Exception is the sdk/wxscintilla/ directory where only sdk/wxscintilla/include/wx/wxscintilla.h is needed.
Ok, thank you. :)
Now I can finish the spec file :D
-
Finally I've completed the patch. I haven't done so much with autotools yet, so I ran into few dead ends, but with a delay I got it ;)
I added the option --enable-sdk to the configure script which is disabled by default. Enabling it will install all noinst_HEADERS to $INCLUDEDIR/codeblocks (I added only src/sdk/managerproxy.h in the src/sdk/Makefile.am to those headers that will be installed). The directory tree is the same as the one in src/sdk.
That's the patch [ Patch #1132 ] Added autotools option to install sdk headers (https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1132&group_id=5358)
EDIT: I attached the filelist of the rpm package created with this patch.
[attachment deleted by admin]