Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 27 Feb 2014 14:29:46 +0100
From: Szabolcs Nagy <>
Subject: Re: Out-of-tree builds

* Szabolcs Nagy <> [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
> +

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.