Ticket #208 (closed enhancement: fixed)

Opened 11 years ago

Last modified 11 years ago

add support for building out-of-sources builds

Reported by: slyfox Owned by: metux
Priority: major Milestone: 4.6.2
Component: mc-core Version: 4.6.1
Keywords: committed-mc-4.6 committed-master Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description (last modified by metux) (diff)

I'd like to run ./autogen.sh and(unsupported by autostuff?) and ./configure scripts from locations other, than source tree.
It is very convinient to run builds for various architectures/configurations against one actual source.

usage example:
$ cd /tmp
$ git clone git://midnight-commander.org/git/mc.git
$ ./autogen.sh
$ chmod -R u-w mc/ # freeze sources (just for tests)


branch:208_out_of_tree_build (based on mc-4.6)
changeset:e3a3890a3a82500bf3e6b61d28a00f3a5e229f66

# let's craft 'mc-build'
# (and mc-build-{arm, x86_64, i386, ppc, mingw32}-{slang, charset, glib{1,2}} in real world)
# and build sources there:

$ mkdir mc-build
$ cd mc-build
$ ../mc/configure --prefix=/tmp/mc-test/
$ make
$ make install

or at least to generate ./configure in /tmp/mc tree, but to be able t run it from other locations to have source tree untouched


committed mc-4.6
committed master

Change History

comment:1 Changed 11 years ago by metux

  • Keywords review added
  • Status changed from new to accepted
  • Description modified (diff)
  • Owner set to metux
  • Milestone changed from 4.7 to 4.6.3

comment:2 Changed 11 years ago by slyfox

  • Description modified (diff)

comment:3 Changed 11 years ago by slyfox

  • Description modified (diff)

comment:4 Changed 11 years ago by angel_il

  • Keywords vote-angel_il added; review removed

passed

comment:5 Changed 11 years ago by slyfox

  • Description modified (diff)

comment:6 Changed 11 years ago by slyfox

  • Keywords vote-slyfox approved added

comment:7 Changed 11 years ago by metux

  • Status changed from accepted to testing
  • Keywords committed-mc-4.6 committed-master added; approved removed
  • Resolution set to fixed

comment:8 Changed 11 years ago by metux

  • Keywords vote-angel_il vote-slyfox removed
  • Description modified (diff)

comment:9 Changed 11 years ago by winnie

  • Status changed from testing to closed
  • Milestone changed from 4.6.3 to 4.6.2

Moved to 4.6.2 as this is already fixed. We need to update NEWS file.

Note: See TracTickets for help on using tickets.