]> git.lyx.org Git - lyx.git/blobdiff - forms/makefile
fix typo
[lyx.git] / forms / makefile
index d8f6feba8050394b3d5e1a613d31a11337a6ab7d..a13a6856680753f883cbf59a57a104668368af54 100644 (file)
@@ -17,17 +17,11 @@ SHELL = /bin/sh
 # Various commands
 FDESIGN = fdesign
 
-SRCS = bullet_forms.fd credits_form.fd form1.fd \
-       log_form.fd layout_forms.fd lyx.fd lyx_sendfax.fd math_forms.fd \
-       print_form.fd sp_form.fd
+SRCS = figure_form.fd print_form.fd
 
-OBJS = bullet_forms.c credits_form.c form1.c \
-       log_form.c layout_forms.c lyx.c lyx_sendfax.c math_forms.c \
-       print_form.c sp_form.c
+OBJS = figure_form.c print_form.c
 
-COBJS = bullet_forms.C credits_form.C form1.C \
-       log_form.C layout_forms.C lyx.C lyx_sendfax.C math_forms.C \
-       print_form.C sp_form.C
+COBJS = figure_form.C print_form.C
 
 all:
        @echo "This is a makefile intended for the maintainer only."
@@ -52,7 +46,7 @@ e: c
        for hfil in *.h ; do \
                if [ -f "$$hfil.patch" ] ; then \
                        (echo "Patching $$hfil with $$hfil.patch" ; \
-                       patch -s $$hfil < $$hfil.patch) \
+                       patch $$hfil < $$hfil.patch) \
                fi; \
                sed < $$hfil > $$hfil.tmp \
                        -e 's/\(extern\) \(void.*FL_OBJECT\)/\1 "C" \2/' \
@@ -62,16 +56,11 @@ e: c
 
 updatesrc: d e
        @echo
-       @echo "Beware some files may be installed in the wrong directory!" >&2
-       @echo "In particular be careful with gui-indep forms.  Make sure">&2
-       @echo "they have been removed from the files here otherwise we'll">&2
-       @echo "get junk code and errors at compile time.">&2
+       @echo "Be careful with gui-indep forms.  Make sure they have been">&2
+       @echo "removed from the files here otherwise we'll get junk code ">&2
+       @echo "and errors at compile time.">&2
        for fil in *.C *.h ; do \
-               if [ $$fil = "math_forms.C" -o $$fil = "math_forms.h" ]; then \
-                       cp $$fil ../src/mathed ; \
-               else \
-                       cp $$fil ../src ; \
-               fi \
+               cmp -s $$fil ../src/$$fil || cp $$fil ../src ; \
        done
 
 .fd.c: