]> git.lyx.org Git - lyx.git/blobdiff - forms/makefile
export patch from Dekel
[lyx.git] / forms / makefile
index 99dcce6f86edfa6113c29e173179f184012c1fe7..d8f6feba8050394b3d5e1a613d31a11337a6ab7d 100644 (file)
@@ -18,15 +18,15 @@ SHELL = /bin/sh
 FDESIGN = fdesign
 
 SRCS = bullet_forms.fd credits_form.fd form1.fd \
-       latexoptions.fd layout_forms.fd lyx.fd lyx_sendfax.fd math_forms.fd \
+       log_form.fd layout_forms.fd lyx.fd lyx_sendfax.fd math_forms.fd \
        print_form.fd sp_form.fd
 
 OBJS = bullet_forms.c credits_form.c form1.c \
-       latexoptions.c layout_forms.c lyx.c lyx_sendfax.c math_forms.c \
+       log_form.c layout_forms.c lyx.c lyx_sendfax.c math_forms.c \
        print_form.c sp_form.c
 
 COBJS = bullet_forms.C credits_form.C form1.C \
-       latexoptions.C layout_forms.C lyx.C lyx_sendfax.C math_forms.C \
+       log_form.C layout_forms.C lyx.C lyx_sendfax.C math_forms.C \
        print_form.C sp_form.C
 
 all:
@@ -43,6 +43,11 @@ d: c $(COBJS)
 #
 # We need the callbacks to all be declared as:  extern "C" void
 #
+# -e 's,\(generated with fdesign\)\(.*\)\(\*\*/\),\1 \3,';\
+#
+# Clean up the line with the date in it.  This means we'll have fewer false
+# updates (where the only thing that changed was the date).
+#
 e: c
        for hfil in *.h ; do \
                if [ -f "$$hfil.patch" ] ; then \
@@ -50,7 +55,8 @@ e: c
                        patch -s $$hfil < $$hfil.patch) \
                fi; \
                sed < $$hfil > $$hfil.tmp \
-                       -e 's/\(extern\) \(void.*FL_OBJECT\)/\1 "C" \2/' ; \
+                       -e 's/\(extern\) \(void.*FL_OBJECT\)/\1 "C" \2/' \
+                       -e 's,\(generated with fdesign\)\(.*\)\(\*\*/\),\1 \3,';\
                mv $$hfil.tmp $$hfil; \
        done