install.sh script for win32

Mike Alexander mta at umich.edu
Wed Aug 30 02:36:53 EDT 2006


--On August 28, 2006 4:17:04 PM +0200 Christian Stimming 
<stimming at tuhh.de> wrote:

>> Also, we might want to use the .INTERMEDIATE rule as suggested by
>> Mike.  But yeah, this looks like a good approach!
>
> Next proposal attached. For my part it's the same as before, but now
> with Mike's proposal added.

I updated and built with "-j 3" tonight and it mostly worked fine. 
There is one problem, which isn't really a new problem but worked by 
accident before.  There are two gwrap targets in src/engine/Makefile.am 
and it turns out that gwrap-files1 must be built before gwrap-files2 
since gw-kvp-spec.scm contains

;; other wrapped modules
(use-modules (g-wrapped gw-engine-spec))

In the past this worked because the gwrap-files1 build got far enough 
to create an empty (or incomplete) g-wrapped/gw-engine-spec.scm before 
the gwrap-files2 build looked for it.  However now that the symlinking 
is done after the build finishes this doesn't happen.

This patch fixes this problem:

Index: engine/Makefile.am
===================================================================
--- engine/Makefile.am	(revision 14771)
+++ engine/Makefile.am	(working copy)
@@ -209,7 +209,7 @@
   gwrap-files2

 gwrap-files2: \
-  .scm-links gw-kvp-spec.scm ${top_builddir}/config.status
+  .scm-links gw-kvp-spec.scm ${top_builddir}/config.status gwrap-files1
 	FLAVOR=gnome $(GUILE) -c \
 	 "(set! %load-path (cons \"${G_WRAP_MODULE_DIR}\" %load-path)) \
 	 (set! %load-path (cons \"${PWD}\" %load-path)) \

-- 
Mike Alexander           mta at umich.edu
Ann Arbor, MI            PGP key ID: BEA343A6




More information about the gnucash-devel mailing list