summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: d4da547473dd997803f6f1d058a86ec1fcbe136e (plain)
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
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4

if HAVE_DOXYGEN
DOC_DIR = docs
else
DOC_DIR =
endif

SUBDIRS = src test $(DOC_DIR)
EXTRA_DIST = LicenseClosedSource.txt LicenseOpenSource.txt reconf cleanup Brahe.sln

dist-hook:

	if test -d BraheDLL; then \
		mkdir $(distdir)/BraheDLL; \
		cp -p BraheDLL/* $(distdir)/BraheDLL; \
	fi

	if test -d BraheTest; then \
		mkdir $(distdir)/BraheTest; \
		cp -p BraheTest/* $(distdir)/BraheTest; \
	fi

uninstall-local:
	rm -rf $(distdir)/BraheDLL
	rm -rf $(distdir)/BraheTest