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 <[EMAIL PROTECTED]> 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
       [EMAIL PROTECTED]                        PGP key available
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to