]> git.lyx.org Git - lyx.git/blobdiff - forms/makefile
export patch from Dekel
[lyx.git] / forms / makefile
index 03616975ef1b992f52104ef5a205e884e3a2c062..d8f6feba8050394b3d5e1a613d31a11337a6ab7d 100644 (file)
@@ -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