Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
SmartIndent refactoring question
MortenMacFly:
--- Quote from: jens on November 06, 2012, 09:12:03 am ---I will look into it as soon as possible.
--- End quote ---
A very easy solution would be to move the manifest into sub-folders "HDL", "Cpp".... Then you don't need to rename and can run the ZIP commands in parallel w/o hassle.
oBFusCATed:
--- Quote from: killerbot on November 06, 2012, 08:12:19 am ---you are correct I have run into issues, but that was very often pch problems (which seem to be the very nature of pch builds) :P
and probably a few I don't remember, I can't even remember which wrong commands I used (could you please point them out to me again, would be good to have my mind refreshed ;D )
--- End quote ---
Doesn't matter what kind of issues you've been having. I've almost never had issues with the package generators, because they know how to build software reliably and then install/uninstall it correctly.
In gentoo the two steps are tied together, but in rpm based distros is a tree step activity or two (if you make a repo, but I don't want to bother with this).
--- Quote from: killerbot on November 06, 2012, 08:12:19 am ---But never such problem where actually the build process itself is screwing up things (like those manifest files / zip files getting broken (?) for SmartIndent with parallel build).
--- End quote ---
Probably this is an exception, but the break-ability of manual make based builds is still there, especially if you don't use non-default prefix.
--- Quote from: killerbot on November 06, 2012, 08:12:19 am ---But never such problem where actually the build process itself is screwing up things (like those manifest files / zip files getting broken (?) for So could we adjust the makefile uninstall to just remove those directories (rm -rf - wise) at the end ?
--- End quote ---
No, because it is not safe. Stick to packages for healthy linux systems. This is the general rule. Every system maintainer will tell you this. This is of course if you want to be able to update the system. If you prefer to reinstall the whole system often doesn't matter much.
killerbot:
so basically what you are saying is, don't do sudo make install anymore.
But even when I specify a prefix, the problem will remain, since the uninstall in that area will also not clean up stuff correctly. It is however does manually delete things then.
Aside from that, I really do think, that a makefile should always clean up whatever it generated, even leaving empty directories is not nice.
Well I might go to a prefixe-ed cb install, but still based upon make install, because I am the only user on the system, it will be no problem that the other accounts will be unable to run it ;-)
I have no idea, how to end up with packages locally, could you give me some information on this ? (Opensuse)
oBFusCATed:
--- Quote from: killerbot on November 06, 2012, 12:48:26 pm ---so basically what you are saying is, don't do sudo make install anymore.
--- End quote ---
Yes, at least I don't do it
--- Quote from: killerbot on November 06, 2012, 12:48:26 pm ---But even when I specify a prefix, the problem will remain, since the uninstall in that area will also not clean up stuff correctly. It is however does manually delete things then.
--- End quote ---
I don't use make uninstall, but a straight delete...
--- Quote from: killerbot on November 06, 2012, 12:48:26 pm ---Aside from that, I really do think, that a makefile should always clean up whatever it generated, even leaving empty directories is not nice.
--- End quote ---
Probably there are errors or this is just how it works. I won't bother to fix it as I never use it. I would even vote to remove it if we make a poll.
at the other accounts will be unable to run it ;-)
--- Quote from: killerbot on November 06, 2012, 12:48:26 pm ---I have no idea, how to end up with packages locally, could you give me some information on this ? (Opensuse)
--- End quote ---
Search the internet, I'm not sure what is used by opensuse for the building, but I'm sure there are some docs.
You can even start to provide opensuse repo for the nightlies. :)
Jenna:
--- Quote from: oBFusCATed on November 06, 2012, 01:28:04 pm ---You can even start to provide opensuse repo for the nightlies. :)
--- End quote ---
Looks like it already exists: http://forums.codeblocks.org/index.php/topic,17038.msg116402.html#msg116402
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version