Use the return status direct in stamp-forms...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8159 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-11-29 21:02:59 +00:00
parent e1515e6d78
commit 4ad351842c
2 changed files with 9 additions and 8 deletions

View File

@ -1,3 +1,8 @@
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

View 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 \
if cmp -s $< lyx_xpm.h || {
rm -f lyx_xpm.h ;\
cp $< lyx_xpm.h ;\
fi
}
echo timestamp > $@