Makefile.am 1.58 KB
Newer Older
1 2
ACLOCAL_AMFLAGS = -I gnuscripts

3 4 5 6
# Override automake's default rule for rebuilding aclocal.m4, to ensure that
# ./configure is successfully recreated after certain build system changes which
# require other autotools (e.g. autoheader) to be re-run. See Redmine issue #728.
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
7 8
	$(am__cd) $(srcdir) && $(SHELL) ./00boot

9 10 11
EXTRA_DIST = \
	COPYING \
	lalinference.spec \
12
	$(DATA)
13 14

SUBDIRS = \
15
	bin \
16 17 18
	debian \
	include \
	src \
19
	python \
20
	swig \
21 22 23 24
	test

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = lalinference.pc
25
noinst_DATA = lalinference-uninstalled.pc
26
BUILT_SOURCES = lalinference-uninstalled.pc
27 28 29

DISTCLEANFILES = config.lt

Karl Wette's avatar
Karl Wette committed
30
if HAVE_GIT_REPO
31
vcs-clean: maintainer-clean
Karl Wette's avatar
Karl Wette committed
32 33
	-cd $(top_srcdir) && $(GIT) clean -Xdf
endif
34 35 36

all-local:
	@echo "";\
Karl Wette's avatar
Karl Wette committed
37 38 39 40 41
	echo "==================================================";\
	echo "LALInference has now been successfully built.";\
	echo "Now run 'make install' to install LALInference.";\
	echo "==================================================";\
	echo ""
42 43 44

install-exec-local:
	@echo "";\
Karl Wette's avatar
Karl Wette committed
45 46 47 48 49 50 51 52 53 54 55 56 57
	echo "==================================================";\
	echo "LALInference has now been successfully installed.";\
	echo "Now you may want to setup your environment:";\
	echo "";\
	echo "* Bourne shell [bash] users: please add the line";\
	echo "  . $(sysconfdir)/lalinference-user-env.sh";\
	echo "  to your .profile file.";\
	echo "";\
	echo "* C-shell [tcsh] users: please add the line";\
	echo "  source $(sysconfdir)/lalinference-user-env.csh";\
	echo "  to your .login file.";\
	echo "==================================================";\
	echo ""