News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

new wizard makefile confusion

Started by MadBoat, April 24, 2015, 09:49:08 AM

Previous topic - Next topic

MadBoat

So I'm trying to create a new wizard for the "new project" GUI for a specialty language we're developing. The documentation that I've found (http://wiki.codeblocks.org/index.php?title=Wizard_scripts) says to "refer to the wizard scripting page", which is some help in setting up the wizard.script file, but not in getting my new wizard to be loaded correctly in the first place. From the documentation, and based on what is included in the codeblocks .tar.gz I downloaded, I surmise that I am to modify the following files in whatever new wizard I create;

    wizard.script
    logo.png
    wizard.png
    makefile.am
    wizard.xrc (optional?)
    ../makefile.am
    ../config.script

This is all fine except for makefile.in. The commentary in makefile.in suggests it is also generated... a typo? Or am I missing something else? What's the intended development path?

oBFusCATed

Makefile.in files are generated from the Makefile.am files when you run the configure script.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MadBoat

Ok, thanks, that was useful. I reviewed the configure script and bootstrap script and found some irregularities... sorting those out seems to have fixed the problems I was having.


Jenna

You should not edit the configure-script, but the configure.ac- and the acinclude.m4-file (and of course the Makefile.am-files) and run ./bootstrap to create the Makefile.in-files and the configure-script.