-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
47 lines (34 loc) · 1.03 KB
/
Makefile
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
45
46
47
# Copyright (C) 2006 by Germanischer Lloyd AG, 2019 DNV GL SE
# ======================================================================
# Task Make tasks for numdiff
# ----------------------------------------------------------------------
# Author Berthold Hoellmann <hoel@GL-group.com>
# Project numdiff
# ======================================================================
SHELL = /bin/sh
IGN = $(shell [ -n "$$(svn propget svn:ignore .)" ] && \
echo "$$(svn propget svn:ignore .)")
all: build
test:
$(MAKE) -C test $@
build:
python setup.py build
install: test
python setup.py install
$(MAKE) -C doc install
doc: build
$(MAKE) -C doc doc
clean:
[ -n "$(IGN)" ] && $(RM) -r $(IGN) || true
for i in $$(find . -type d | grep -v .svn) ; do \
[ -n "$$(svn propget svn:ignore $$i)" ] && \
(cd $$i ; $(RM) -rr "$$(svn propget svn:ignore .)") || true ; \
done
$(MAKE) -C test clean
dist: build
python setup.py bdist_egg
.PHONY: build test dist doc
# Local Variables:
# compile-command:"make test"
# coding:utf-8
# End: