[PATCH 5/5] * add the check and bootstrap targets
Xavier Oswald
xoswald at gmail.com
Tue Aug 25 14:07:29 UTC 2009
On 15:45 Tue 25 Aug , Frédéric-Emmanuel PICCA wrote:
+ Ack for commit
> Signed-off-by: Frédéric-Emmanuel PICCA <picca at synchrotron-soleil.fr>
> ---
> Makefile | 17 +++++++++++++++++
> 1 files changed, 17 insertions(+), 0 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 66f28b0..64fd91b 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -94,6 +94,22 @@ export LISAAC_DIRECTORY=..
>
> all: bin/lisaac bin/shorter
>
> +bootstrap/path.h:
> + mkdir bootstrap
> + @echo "#define LISAAC_DIRECTORY \"..\"" > bootstrap/path.h
> +
> +bootstrap/lisaac_pre: bin/lisaac bootstrap/path.h
> + cd bootstrap && ../bin/lisaac ../src/make.lip ../src/lisaac -no_debug -boost -gcc "-o lisaac_pre"
> +
> +bootstrap/lisaac: bootstrap/lisaac_pre
> + cd bootstrap && ./lisaac_pre ../src/make.lip ../src/lisaac -no_debug -boost
> +
> +bootstrap: src bootstrap/lisaac
> +
> +check: bootstrap
> + diff -s bootstrap/lisaac bootstrap/lisaac_pre
> + diff -s bin/lisaac bootstrap/lisaac
> +
> bin/path.h:
> @echo "#define LISAAC_DIRECTORY \"$(LIB)\"" > bin/path.h
>
> @@ -130,6 +146,7 @@ uninstall:
> -rm -rf $(DESTDIR)$(MAN)/shorter.1.gz
>
> clean:
> + -rm -rf bootstrap
> -rm -f bin/lisaac bin/shorter
>
> dist: clean
> _______________________________________________
> Lisaac-devel mailing list
> Lisaac-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/lisaac-devel
--
,''`. ** Xavier Oswald <xoswald at debian.org>
: :' : ** Research Engineer
`. `' ** GNU/LINUX Debian Developer (http://debian.org)
`- ** Isaac Project Developer (http://isaacproject.u-strasbg.fr/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/lisaac-devel/attachments/20090825/e45144a3/attachment.pgp>
More information about the Lisaac-devel
mailing list