mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: Out-of-tree builds
Date: Thu, 27 Feb 2014 14:29:46 +0100	[thread overview]
Message-ID: <20140227132946.GS23551@port70.net> (raw)
In-Reply-To: <20140226225614.GR23551@port70.net>

* Szabolcs Nagy <nsz@port70.net> [2014-02-26 23:56:14 +0100]:
> third try, with configure changes and some simplifications
> 
> (configure detects out-of-tree build and copies the Makefile,
> there is an ifndef block in the Makefile to add extra rules
> for directory creation)

hm the makefile shouldn't be copied, it's enough to link it
or create one with "include $srcdir/Makefile"
(so if the source repo is updated the new makefile will be
used for the out-of-tree build)

> +if test -f Makefile ; then
> +echo "using existing Makefile"
> +else
> +cp $srcdir/Makefile . || fail "$0: cannot create Makefile"
> +fi
> +

else
printf "creating Makefile... "
echo "include $srcdir/Makefile" >Makefile
echo "done"
fi


      reply	other threads:[~2014-02-27 13:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06 17:15 Oliver Schneider
2014-02-06 17:39 ` Szabolcs Nagy
2014-02-06 18:25   ` Oliver Schneider
2014-02-06 19:04   ` Rich Felker
2014-02-06 23:27     ` Szabolcs Nagy
2014-02-06 23:31       ` Szabolcs Nagy
2014-02-07  1:01         ` Szabolcs Nagy
2014-02-07  1:07           ` Rich Felker
2014-02-08  2:49             ` Szabolcs Nagy
2014-02-26 22:56               ` Szabolcs Nagy
2014-02-27 13:29                 ` Szabolcs Nagy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140227132946.GS23551@port70.net \
    --to=nsz@port70.net \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).