Bug #258

Fix makefile in src tarball

Added by Jan Dolinár over 8 years ago. Updated about 8 years ago.

Status:ApprovedStart date:02/23/2012
Priority:UrgentDue date:
Assignee:Jan Dolinár% Done:

0%

Category:IDESpent time:-
Target version:-

Description

http://www.ultimatepp.org/forum/index.php?t=msg&goto=35497

I see two possible solutions:
  1. Add brc.sh ( source:trunk/uppbox/UppBuilder/brc.sh ) into the generated makefile and add some support for it
  2. Generate the makefile using UppBuilder instead of TheIDE

The second option seems more risky, so I'd prefer the first. The makefile generator should support this anyways...

Any comments?

History

#1 Updated by Sender Ghost over 8 years ago

I see two possible solutions

There is another one:
  • Building umk package (with generated or universal makefile).
  • Generating proper build method (.bm) file.
  • Then using umk to build U++ software, including TheIDE.

Also, consider adding umk as deb package. In this case, generated build method file could be placed to "/usr/local/share/umk" directory. There is also possibility to generate build method file(s) (so-called auto-setup from TheIDE) by using umk.

#2 Updated by Jan Dolinár over 8 years ago

Yes, I forgot about using umk. It is workaround as well, but cleaner than my idea #2.

Also, consider adding umk as deb package

It already exists ;) Plus umk is added into the theide* packages.

#3 Updated by Sender Ghost over 8 years ago

Jan Dolinár wrote:

It already exists ;) Plus umk is added into the theide* packages.

Good to know, thanks.

#4 Updated by Miroslav Fidler over 8 years ago

I think the simple and corrent solution is to make Export aware about .brc - which should be quite easy (it is enough to do the same brc step as normal make, then include processed file in the export).

#5 Updated by Jan Dolinár over 8 years ago

Miroslav Fidler wrote:

I think the simple and corrent solution is to make Export aware about .brc - which should be quite easy (it is enough to do the same brc step as normal make, then include processed file in the export).

number_of_solutions == number_of_people + 1 :D
If it is OK to export generated code, than I can implement it. It is the simplest solution and probably least error prone.

#6 Updated by Miroslav Fidler over 8 years ago

  • Status changed from New to Ready for QA
  • Assignee changed from Miroslav Fidler to Jan Dolinár

Hopefully fixed, IMO latest tarball now compiles just fine...

#7 Updated by Miroslav Fidler about 8 years ago

Can we close this?

#8 Updated by Jan Dolinár about 8 years ago

  • Status changed from Ready for QA to Approved

Yes, it works well, thanks!

Also available in: Atom PDF