+2003-11-29 Angus Leeming <leeming@lyx.org>
+
+ * Makefile.am (stamp-forms, stamp-xpm): don't use "if test return
+ status; then... fi" but rather use the return status direct.
+
2003-11-29 Angus Leeming <leeming@lyx.org>
* FormVSpace.C
@:
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 \
+ if cmp -s $< lyx_xpm.h || {
rm -f lyx_xpm.h ;\
cp $< lyx_xpm.h ;\
- fi
+ }
echo timestamp > $@