URL:
https://svn.lrde.epita.fr/svn/xrm/trunk
ChangeLog:
2007-01-08 SIGOURE Benoit <tsuna(a)lrde.epita.fr>
Fix the build process: don't use symlinks.
* src/sig/Makefile.am: Don't use symlinks (they lead to strange
re-build problems), use cp instead.
* src/syn/xrm/Makefile.am: Generate a patched version of XRM.str
without using a stamp-file.
sig/Makefile.am | 19 ++++++++++++++-----
syn/xrm/Makefile.am | 6 ++----
2 files changed, 16 insertions(+), 9 deletions(-)
Index: src/sig/Makefile.am
===================================================================
--- src/sig/Makefile.am (revision 101)
+++ src/sig/Makefile.am (working copy)
@@ -31,19 +31,28 @@
PRISM.def: $(top_builddir)/src/syn/prism/PRISM.def
rm -f $@
- $(LN_S) $^ $@
+ cp -f $^ $@
+PRISM.str: $(top_builddir)/src/syn/prism/PRISM.str
+ rm -f $@
+ cp -f $^ $@
PCTL.def: $(top_builddir)/src/syn/pctl/PCTL.def
rm -f $@
- $(LN_S) $^ $@
+ cp -f $^ $@
+PCTL.str: $(top_builddir)/src/syn/pctl/PCTL.str
+ rm -f $@
+ cp -f $^ $@
XPCTL.def: $(top_builddir)/src/syn/xpctl/XPCTL.def
rm -f $@
- $(LN_S) $^ $@
+ cp -f $^ $@
+XPCTL.str: $(top_builddir)/src/syn/xpctl/XPCTL.str
+ rm -f $@
+ cp -f $^ $@
XRM.def: $(top_builddir)/src/syn/xrm/XRM.def
rm -f $@
- $(LN_S) $^ $@
+ cp -f $^ $@
XRM.str: $(top_builddir)/src/syn/xrm/XRM.str
rm -f $@
- $(LN_S) $^ $@
+ cp -f $^ $@
Index: src/syn/xrm/Makefile.am
===================================================================
--- src/syn/xrm/Makefile.am (revision 101)
+++ src/syn/xrm/Makefile.am (working copy)
@@ -85,9 +85,7 @@
$(SDF_TOOLS)/bin/gen-renamed-sdf-module -i $< -o $@ \
--main XRM --name XRM-Prefixed --prefix XRM
-all-am: XRM.str.stamp
-
-XRM.str.stamp: XRM.str
- mv -f XRM.str XRM.str.bak
+XRM.str: XRM.rtg
+ $(STRATEGO_REGULAR)/bin/rtg2sig --module `basename "$*"` -i XRM.rtg -o
XRM.str.bak
cat XRM.str.bak $(srcdir)/XRM-Constant.str >XRM.str
date >XRM.str.stamp
--
SIGOURE Benoit aka Tsuna (SUSv3 compliant)
_____ "On a long enough timeline, the survival rate
/EPITA\ Promo 2008.CSI/ACU for everyone drops to zero" -- Jack.