Makefile.am 1.83 KB
Newer Older
1 2 3 4 5 6
BUILT_SOURCES =
sysconf_DATA =
MOSTLYCLEANFILES =
EXTRA_DIST =
include $(top_srcdir)/gnuscripts/lalsuite_user_env.am

7 8
ACLOCAL_AMFLAGS = -I gnuscripts

9
if HAVE_GIT_REPO
10 11 12 13
# 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)
14
	$(am__cd) $(srcdir) && $(SHELL) ./00boot
15
endif # HAVE_GIT_REPO
16

17
EXTRA_DIST += \
18
	lalinference.spec \
19
	$(DATA)
20 21 22 23 24

SUBDIRS = \
	debian \
	include \
	src \
25
	swig \
26
	python \
27
	test \
28
	$(END_OF_LIST)
29

30 31
user_environment = \
	set $(PACKAGE)_PREFIX $(prefix); \
32
	set $(PACKAGE)_DATADIR $(pkgdatadir); \
33 34 35 36 37 38 39
	prepend MANPATH $(mandir); \
	prepend OCTAVE_PATH $(octexecdir); \
	prepend PATH $(bindir); \
	prepend PKG_CONFIG_PATH $(libdir)/pkgconfig; \
	prepend PYTHONPATH $(pyexecdir) $(pythondir); \
	$(END_OF_LIST)

40 41 42 43 44
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = lalinference.pc

all-local:
	@echo "";\
Karl Wette's avatar
Karl Wette committed
45 46 47 48 49
	echo "==================================================";\
	echo "LALInference has now been successfully built.";\
	echo "Now run 'make install' to install LALInference.";\
	echo "==================================================";\
	echo ""
50 51 52

install-exec-local:
	@echo "";\
Karl Wette's avatar
Karl Wette committed
53 54 55 56 57 58 59 60 61 62 63 64 65
	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 ""