X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2FMakefile.am;h=1c0778ee8b73e5363c1a39256baa1302ca3311d5;hb=793cf3d1c05dc8e2d971b1c6f233589b0473864a;hp=7a0a6d815353555fb4189a2d5b9d63b698411513;hpb=3e61994433eac158b5d087f3cedaddaf03b06620;p=idzebra-moved-to-github.git diff --git a/index/Makefile.am b/index/Makefile.am index 7a0a6d8..1c0778e 100644 --- a/index/Makefile.am +++ b/index/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.43 2006-06-28 13:26:16 adam Exp $ +## $Id: Makefile.am,v 1.44 2006-06-28 18:19:32 adam Exp $ noinst_PROGRAMS = apitest kdump zebrash @@ -51,11 +51,11 @@ zebrash_LDADD= $(zebralibs) $(YAZLALIB) $(READLINE_LIBS) LDADD = $(zebralibs) $(YAZLALIB) install-exec-hook: - cd $(bindir) && mv -f zebraidx zebraidx$(PACKAGE_SUFFIX) - cd $(bindir) && ln -sf zebraidx$(PACKAGE_SUFFIX) zebraidx - cd $(bindir) && mv -f zebrasrv zebrasrv$(PACKAGE_SUFFIX) - cd $(bindir) && ln -sf zebrasrv$(PACKAGE_SUFFIX) zebrasrv + cd $(DESTDIR)$(bindir) && mv -f zebraidx zebraidx$(PACKAGE_SUFFIX) + cd $(DESTDIR)$(bindir) && ln -sf zebraidx$(PACKAGE_SUFFIX) zebraidx + cd $(DESTDIR)$(bindir) && mv -f zebrasrv zebrasrv$(PACKAGE_SUFFIX) + cd $(DESTDIR)$(bindir) && ln -sf zebrasrv$(PACKAGE_SUFFIX) zebrasrv uninstall-hook: - cd $(bindir) && rm -f zebraidx$(PACKAGE_SUFFIX) - cd $(bindir) && rm -f zebrasrv$(PACKAGE_SUFFIX) + cd $(DESTDIR)$(bindir) && rm -f zebraidx$(PACKAGE_SUFFIX) + cd $(DESTDIR)$(bindir) && rm -f zebrasrv$(PACKAGE_SUFFIX)