projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update m4
[idzebra-moved-to-github.git]
/
examples
/
zthes
/
Makefile.am
diff --git
a/examples/zthes/Makefile.am
b/examples/zthes/Makefile.am
index
1063baa
..
ff0552e
100644
(file)
--- a/
examples/zthes/Makefile.am
+++ b/
examples/zthes/Makefile.am
@@
-1,16
+1,18
@@
-EXTRA_DIST = zebra.cfg Zthes.abs zthes.att zthes.tag \
- tagsetg-zthes.tag tagsetm-zthes.tag tree2xml.pl dino.tree
+EXTRA_DIST = zebra.cfg Zthes.abs zthes.att tree2xml.pl dino.tree
-dist-hook:
- -mkdir $(distdir)/records
+# optional: tagsetg-zthes.tag tagsetm-zthes.tag zthes.tag
+dino: reci-0.mf
-recdA-0.mf: records/dino.xml
- zebraidx init
- zebraidx update records
+reci-0.mf: records/dino.xml
+ ../../index/zebraidx init
+ ../../index/zebraidx update records
-records/dino.xml: tree2xml.pl dino.tree
- ./tree2xml.pl dino.tree > records/dino.xml
+$(srcdir)/records/dino.xml: tree2xml.pl dino.tree
+ ./tree2xml.pl $(srcdir)/dino.tree > $(srcdir)/records/dino.xml
clean:
rm -f records/dino.xml *.mf *.LCK zebrasrv.pid
clean:
rm -f records/dino.xml *.mf *.LCK zebrasrv.pid
+dist-hook: records/dino.xml
+ -mkdir $(distdir)/records
+ cp $(srcdir)/records/dino.xml $(distdir)/records