X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=forms%2Fmakefile;h=d8f6feba8050394b3d5e1a613d31a11337a6ab7d;hb=83882f6d92b2ce51a7c0b05fe28df9dfbd8e1143;hp=03616975ef1b992f52104ef5a205e884e3a2c062;hpb=ab45a3ae914b295478724c1d80ca8ec84789e027;p=lyx.git diff --git a/forms/makefile b/forms/makefile index 03616975ef..d8f6feba80 100644 --- a/forms/makefile +++ b/forms/makefile @@ -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