projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ae1d7d
)
gils example installed (bug #2684)
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 18 Mar 2009 15:18:33 +0000
(16:18 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 18 Mar 2009 15:18:33 +0000
(16:18 +0100)
examples/gils/Makefile.am
patch
|
blob
|
history
diff --git
a/examples/gils/Makefile.am
b/examples/gils/Makefile.am
index
a9e8127
..
eba7697
100644
(file)
--- 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