]> git.lyx.org Git - lyx.git/commitdiff
small update to test and auto var
authorLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 2 Jun 2004 14:39:35 +0000 (14:39 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 2 Jun 2004 14:39:35 +0000 (14:39 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8799 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/forms/Makefile.am

index d06075e4dccffcae38b7b7d6e970567c786c0295..0c68146ba27896a20f256377a40cc0f166800e45 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * forms/Makefile.am (.fd.C): Use '-r' to test for file existence,
+       and use $(<F) instead of `basename $<`
+
 2004-06-01  Angus Leeming  <leeming@lyx.org>
 
        * LayoutEngine.C (c-tor): initialize visible_ as false.
index 5ea2798ecc38a09e65387ae9958231377170d7e8..45a0151d591ddc75453202888be82dc3a68a8339 100644 (file)
@@ -63,5 +63,5 @@ SCRIPT = $(srcdir)/fdfix.sh
 SUFFIX = .fd
 
 .fd.C: $(srcdir)/fdfix.sh $(srcdir)/fdfix[ch].sed $(srcdir)/tmp_str.sed
-       { [ $(srcdir) != . ] && [ ! -a $(<F) ] && $(LN_S) $< . ; } || true
-       $(SHELL) $(SCRIPT) `basename $<`
+       { [ $(srcdir) != . ] && [ ! -r $(<F) ] && $(LN_S) $< . ; } || true
+       $(SHELL) $(SCRIPT) $(<F)