Makefile.am 1.79 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
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 += \
Adam Mercer's avatar
Adam Mercer committed
18
	lalxml.spec \
19 20 21 22 23 24
	$(DATA)

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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = lalxml.pc

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

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