From e89ed285adf22a7004eb8c8b2fddc263041be46f Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Fri, 14 Jun 2002 10:12:59 +0000 Subject: [PATCH] Make the .Ch files dependent on the fdfix files. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4398 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/xforms/ChangeLog | 4 ++++ src/frontends/xforms/forms/Makefile.am | 14 ++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index aab729f7af..fb67613d56 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,7 @@ +2002-06-14 Angus Leeming + + * forms/Makefile.am: make the .Ch files dependent on the fdfix files. + 2002-06-14 Angus Leeming * FormPreferences (XYZ::build): pass "&parent_" to build_xyz, not diff --git a/src/frontends/xforms/forms/Makefile.am b/src/frontends/xforms/forms/Makefile.am index 8d5d6cfade..0bc7e3a816 100644 --- a/src/frontends/xforms/forms/Makefile.am +++ b/src/frontends/xforms/forms/Makefile.am @@ -7,12 +7,6 @@ noinst_LTLIBRARIES = libfdesign.la # For (forms_fwd.h, forms_gettext.h) and LString.h, respectively. INCLUDES = -I$(srcdir)/.. -I$(top_srcdir)/src -# These are used to generate the .[Ch] files from the .fd ones. -# It would be nice if we could make the .Ch files dependent on the fdfix files. -SHELL = /bin/sh -SCRIPT = $(srcdir)/fdfix.sh -SUFFIXES = .fd - SRCS = form_aboutlyx.fd \ form_bibitem.fd \ form_bibtex.fd \ @@ -53,6 +47,14 @@ SRCS = form_aboutlyx.fd \ libfdesign_la_SOURCES = $(SRCS:.fd=.C) $(SRCS:.fd=.h) +# These are used to generate the .[Ch] files from the .fd ones. +SHELL = /bin/sh +SCRIPT = $(srcdir)/fdfix.sh +SUFFIXES = .fd + +# Make the .Ch files dependent on the fdfix files. +$(libfdesign_la_SOURCES): $(srcdir)/fdfix.sh $(srcdir)/fdfix[ch].sed + libfdesign.la: $(libfdesign_la_OBJECTS) $(libfdesign_la_DEPENDENCIES) .fd.C: -- 2.39.2