]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/Makefile.am
Tiny clean-ups.
[lyx.git] / src / frontends / xforms / Makefile.am
index c7b7e741ef96f0c3b059a950914898a95d859925..8e6ff55adf24e4aacd1265798c2c33b14b8182ba 100644 (file)
@@ -184,22 +184,18 @@ lyx_forms.h: stamp-forms
        @:
 
 stamp-forms: lyx_forms.h-tmp
-       if cmp -s $< lyx_forms.h ; then \
-               : ;\
-       else \
+       cmp -s $< lyx_forms.h || {\
                rm -f lyx_forms.h ;\
                cp $< lyx_forms.h ;\
-       fi
+       }
        echo timestamp > $@
 
 lyx_xpm.h: stamp-xpm
        @:
 
 stamp-xpm: lyx_xpm.h-tmp
-       if cmp -s $< lyx_xpm.h ; then \
-               : ;\
-       else \
+       cmp -s $< lyx_xpm.h || {\
                rm -f lyx_xpm.h ;\
                cp $< lyx_xpm.h ;\
-       fi
+       }
        echo timestamp > $@