-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.in
44 lines (35 loc) · 938 Bytes
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- mode: makefile -*-
PREFIX = @prefix@
BINDIR = ${PREFIX}/bin
DOCDIR = ${PREFIX}/share/doc/intronProspector-@PACKAGE_VERSION@
MANDIR = ${PREFIX}/share/man/man1
.PHONY: all
all:
cd src && ${MAKE} all
.PHONY: test
test: all
cd tests && ${MAKE} test
.PHONY: install install-bin install-doc
install: install-bin install-doc
install-bin:
mkdir -p ${BINDIR}
cp -f bin/intronProspector bin/intronProspectorMerge ${BINDIR}
install-doc:
mkdir -p ${DOCDIR} ${MANDIR}
cp -f docs/intronProspector.md docs/intronProspectorMerge.md ${DOCDIR}
cp -f man/intronProspector.1 man/intronProspectorMerge.1 ${MANDIR}
.PHONY: clean
clean:
cd src && ${MAKE} clean
cd tests && ${MAKE} clean
rm -rf bin objs
.PHONY: distclean
distclean: clean
cd src && ${MAKE} distclean
cd tests && ${MAKE} distclean
rm -rf Makefile config.status config.log autom4te.cache
# requires pandoc
.PHONY: doc
doc:
cd src && ${MAKE} doc
cd man && ${MAKE} doc