Makefile.am 1.54 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 12 13 14 15 16 17 18 19 20
EXTRA_DIST = \
	COPYING \
	lalinference.pc.in \
	lalinference.spec.in \
	lalinference.spec \
	aclocal.m4

SUBDIRS = \
	gnuscripts \
	debian \
	include \
	src \
21
	swig \
22 23 24 25 26 27 28
	test

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = lalinference.pc

DISTCLEANFILES = config.lt

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

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

install-exec-local:
	@echo "";\
Karl Wette's avatar
Karl Wette committed
44 45 46 47 48 49 50 51 52 53 54 55 56
	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 ""