install.sh script for win32
Mike Alexander
mta at umich.edu
Mon Aug 28 10:52:04 EDT 2006
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 \
More information about the gnucash-devel
mailing list