From 798eadd92c61c2628ee0b6bf5474f7a4335f62de Mon Sep 17 00:00:00 2001 From: "Eric J. Korpela" Date: Wed, 28 May 2008 16:27:41 +0000 Subject: [PATCH] Eric May 28 2008 - Added a stage target for staging a distribution. Executing "make stage" will "make all" and will install the client under the stage directory (i.e. binaries is stage/$(prefix)/bin, libraries in stage/$(prefix)/lib, etc) Makefile.am svn path=/trunk/boinc/; revision=15306 --- Makefile.am | 10 ++++++++++ checkin_notes | 8 ++++++++ 2 files changed, 18 insertions(+) diff --git a/Makefile.am b/Makefile.am index 1370a0f306..636174f1b1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -37,6 +37,16 @@ pkginclude_HEADERS = \ config.h \ version.h +# Add a stage target for staging a distribution + +clean-generic: + rm -rf stage + +stage: all + if [ ! -d stage ] ; then mkdir stage ; fi + rm -rf stage/* + $(MAKE) DESTDIR=$(PWD)/stage install + dist-hook: rm -rf `find $(distdir) -name .backup -prune -o -name '*~' -o -name CVS` # cd $(distdir) && ./_autosetup diff --git a/checkin_notes b/checkin_notes index d459700282..d060c8a8bf 100644 --- a/checkin_notes +++ b/checkin_notes @@ -4433,3 +4433,11 @@ Eric May 28 2008 icons/ Makefile.am boincmgr.{16x16,32x32,48x48}.png + +Eric May 28 2008 + - Added a stage target for staging a distribution. + Executing "make stage" will "make all" and will install the client + under the stage directory (i.e. binaries is stage/$(prefix)/bin, libraries + in stage/$(prefix)/lib, etc) + + Makefile.am