projects
/
mp-xquery-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Install bibframe config files in /usr/share/mp-xquery/bibframe
[mp-xquery-moved-to-github.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
bbe34d8
..
f6d7bf6
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,14
+1,24
@@
SUBDIRS = src doc
.PHONY: $(SUBDIRS) all
SUBDIRS = src doc
.PHONY: $(SUBDIRS) all
-
-all: $(SUBDIRS)
+prefix = /usr
+datadir = $(prefix)/share
+pkgdatadir = $(datadir)/mp-xquery
CDEP=doc/common/common.ent
CDEP=doc/common/common.ent
+all: $(SUBDIRS)
+
$(SUBDIRS): $(CDEP)
$(MAKE) -C $@
$(SUBDIRS): $(CDEP)
$(MAKE) -C $@
-clean install: $(CDEP)
+clean check: $(CDEP)
+ for d in $(SUBDIRS); do \
+ $(MAKE) -C $$d $@; \
+ done
+
+install:
+ mkdir -p $(DESTDIR)$(pkgdatadir)/bibframe
+ cp -r bibframe $(DESTDIR)$(pkgdatadir)
for d in $(SUBDIRS); do \
$(MAKE) -C $$d $@; \
done
for d in $(SUBDIRS); do \
$(MAKE) -C $$d $@; \
done