projects
/
mp-sparql-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DRY the schema lookup
[mp-sparql-moved-to-github.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
a3fb177
..
6ba1a3a
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,12
+1,22
@@
SUBDIRS = src doc
.PHONY: $(SUBDIRS) all
SUBDIRS = src doc
.PHONY: $(SUBDIRS) all
+prefix = /usr
+datadir = $(prefix)/share
+pkgdatadir = $(datadir)/mp-sparql
all: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
all: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
-clean install:
+clean check:
+ for d in $(SUBDIRS); do \
+ $(MAKE) -C $$d $@; \
+ done
+
+install:
+ mkdir -p $(DESTDIR)$(pkgdatadir)/bibframe
+ cp bibframe/*.xml $(DESTDIR)$(pkgdatadir)/bibframe
for d in $(SUBDIRS); do \
$(MAKE) -C $$d $@; \
done
for d in $(SUBDIRS); do \
$(MAKE) -C $$d $@; \
done