From: Adam Dickmeiss Date: Mon, 27 Sep 2004 12:18:44 +0000 (+0000) Subject: Fix dirs when srcdir is different from dstdir X-Git-Tag: snippet.version.1~329 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=bdcc8b0072a9cd12978862580bb59ae6e2666289;p=idzebra-moved-to-github.git Fix dirs when srcdir is different from dstdir --- diff --git a/examples/zthes/Makefile.am b/examples/zthes/Makefile.am index 92c88c9..ff0552e 100644 --- a/examples/zthes/Makefile.am +++ b/examples/zthes/Makefile.am @@ -7,12 +7,12 @@ 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 dist-hook: records/dino.xml -mkdir $(distdir)/records - cp records/dino.xml $(distdir)/records + cp $(srcdir)/records/dino.xml $(distdir)/records