Makefile.am 1.85 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
ACLOCAL_AMFLAGS = -I gnuscripts
Adam Mercer's avatar
Adam Mercer committed
8

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

17
EXTRA_DIST += \
18
	doc \
Adam Mercer's avatar
Adam Mercer committed
19
	lalstochastic.spec \
20 21 22 23 24 25
	$(DATA)

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

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

41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = lalstochastic.pc

all-local:
	@echo "";\
	echo "==================================================";\
	echo "LALStochastic has now been successfully built.";\
	echo "Now run 'make install' to install LALStochastic.";\
	echo "==================================================";\
	echo ""

install-exec-local:
	@echo "";\
	echo "==================================================";\
	echo "LALStochastic 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)/lalstochastic-user-env.sh";\
	echo "  to your .profile file.";\
	echo "";\
	echo "* C-shell [tcsh] users: please add the line";\
	echo "  source $(sysconfdir)/lalstochastic-user-env.csh";\
	echo "  to your .login file.";\
	echo "==================================================";\
	echo ""