From: Adam Dickmeiss Date: Wed, 18 Mar 2009 15:18:33 +0000 (+0100) Subject: gils example installed (bug #2684) X-Git-Tag: v2.0.37~13^2 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=27353220fe14cdcf78c6f06f6713de692ab0e9f7;p=idzebra-moved-to-github.git gils example installed (bug #2684) --- diff --git a/examples/gils/Makefile.am b/examples/gils/Makefile.am index a9e8127..eba7697 100644 --- a/examples/gils/Makefile.am +++ b/examples/gils/Makefile.am @@ -1,8 +1,16 @@ -EXTRA_DIST = zebra.cfg +gilsdatadir=$(datadir)/$(PACKAGE)$(PACKAGE_SUFFIX)-examples/gils + +gilsdata_DATA = zebra.cfg clean: - rm -f *.mf *..LCK zebrasrv.pid + rm -f *.mf *.LCK zebrasrv.pid + +install-data-hook: + test -z "$(DESTDIR)$(gilsdatadir)/records" || $(MKDIR_P) "$(DESTDIR)$(gilsdatadir)/records" + for p in $(srcdir)/records/*.grs; do \ + $(INSTALL_DATA) $$p $(DESTDIR)$(gilsdatadir)/records; \ + done dist-hook: -mkdir $(distdir)/records