install.sh script for win32

Derek Atkins warlord at MIT.EDU
Mon Aug 28 10:53:34 EDT 2006


Yeah, Christian informed me of that.   I've never used .INTERMEDIATE
myself.   Nice.   Christian is working on committing some of these
changes..

-derek

Quoting Mike Alexander <mta at umich.edu>:

> Adding gwrap-files to CLEANFILES is a good idea, but isn't as 
> important as it seems.  The .INTERMEDIATE declaration causes make to 
> delete it after building it so it shouldn't exist unless the make 
> fails or is interrupted.
>
>         Mike
>
> --On August 28, 2006 10:08:12 AM -0400 Derek Atkins <warlord at MIT.EDU> wrote:
>
>> Thanks.  Good point.  I dont run "make -j" so I never see this (most
>> of my machines are UP, not MP).  One comment FYI (I plan to use your
>> suggestion but correct it)..  You probably want to add 'gwrap-files'
>> to CLEANFILES so that it gets removed during "make clean"..  Otherwise
>> it might not rebuild properly after make clean.
>>
>> -derek
>>
>> Mike Alexander <mta at umich.edu> writes:
>>
>> [snip]
>>> Index: gnucash-2.0/src/gnc-module/Makefile.am
>>> ===================================================================
>>> --- gnucash-2.0/src/gnc-module/Makefile.am	(revision 14695)
>>> +++ gnucash-2.0/src/gnc-module/Makefile.am	(working copy)
>>> @@ -61,12 +61,16 @@
>>> endif
>>> 	touch .scm-links
>>>
>>> -gw-gnc-module.scm gw-gnc-module.c gw-gnc-module.h: \
>>> -  .scm-links gw-gnc-module-spec.scm ${top_builddir}/config.status
>>> +.INTERMEDIATE: gwrap-files
>>> +
>>> +gw-gnc-module.scm gw-gnc-module.c gw-gnc-module.h: gwrap-files
>>> +
>>> +gwrap-files: .scm-links gw-gnc-module-spec.scm
>>> ${top_builddir}/config.status
>>> 	FLAVOR=gnome $(GUILE) -c \
>>> 	  "(set! %load-path (cons \"${G_WRAP_MODULE_DIR}\" %load-path)) \
>>> 	  (primitive-load \"./gw-gnc-module-spec.scm\") \
>>> 	  (gw:generate-wrapset \"gw-gnc-module\")"
>>> +	touch gwrap-files
>>>
>>> BUILT_SOURCES = gw-gnc-module.scm gw-gnc-module.h gw-gnc-module.c
>>> CLEANFILES = $(BUILT_SOURCES) .scm-links g-wrapped gnucash \
>
>
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list