forked from lscsoft/lalsuite-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
75 lines (64 loc) · 2.97 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
66
67
68
69
70
71
72
73
74
75
ACLOCAL_AMFLAGS = -I gnuscripts
SUBDIRS = @subdirs@
# 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
# Override automake's default rule for rebuilding ./config.status, to ensure that
# all changes to the top-level configuration (especially to environment variables it
# exports) are propagated to the library-level configurations. See Redmine issue #728.
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) $(top_srcdir)/configure $(ac_configure_args)
.PHONY: cscopelist-subdirs
cscopelist-am: cscopelist-subdirs
cscopelist-subdirs:
for subdir in $(SUBDIRS); do \
sed "s|^|$${subdir}/|" $${subdir}/cscope.files >> $(top_builddir)/cscope.files; \
done
BUILT_SOURCES = $(PACKAGE)rc
sysconf_DATA = $(PACKAGE)rc
MOSTLYCLEANFILES = $(PACKAGE)rc
$(PACKAGE)rc: Makefile
$(AM_V_GEN)echo "# source this file to access $(PACKAGE_NAME)" >$@; \
for dir in $(SUBDIRS); do \
echo "eval \`sh -c \"case \$$0 in *csh) echo source $(sysconfdir)/$${dir}-user-env.csh;; *) echo . $(sysconfdir)/$${dir}-user-env.sh;; esac\"\`" >>$@; \
done
if DOXYGEN
html-local: Makefile $(CONFIG_CLEAN_FILES)
$(AM_V_at)echo "=== Doxygen documentation was built successfully!"; \
echo "=== $(PACKAGE_NAME) main page is at file://$(abs_builddir)/index.html"
install-html-local: html-local
$(AM_V_at)echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)'"; \
$(MKDIR_P) "$(DESTDIR)$(htmldir)" || exit 1; \
echo " $(INSTALL_DATA) index.html '$(DESTDIR)$(htmldir)/index.html'"; \
$(SED) -e 's|\(lal[a-z]*\)/doxygen/out|../\1|g' index.html > [email protected] || exit 1; \
$(INSTALL_DATA) [email protected] "$(DESTDIR)$(htmldir)/index.html" || exit 1; \
rm -f [email protected]; \
echo "=== Doxygen documentation was installed successfully!"; \
echo "=== Installed $(PACKAGE_NAME) main page is at file://$(DESTDIR)$(htmldir)/index.html"
uninstall-local:
-rm -rf "$(DESTDIR)$(htmldir)/"
endif
.PHONY: print-build-success
all-local: print-build-success
print-build-success:
@echo "";\
echo "==================================================";\
echo "$(PACKAGE_NAME) has now been successfully built.";\
echo "Now run 'make install' to install $(PACKAGE_NAME).";\
echo "==================================================";\
echo ""
.PHONY: print-install-success
install-exec-local: print-install-success
print-install-success:
@echo "";\
echo "==================================================";\
echo "$(PACKAGE_NAME) has now been successfully installed.";\
echo "To set up your environment, please add the line";\
echo " . $(sysconfdir)/$(PACKAGE)rc";\
echo "to ~/.profile for Bourne shells (e.g. bash), or";\
echo " source $(sysconfdir)/$(PACKAGE)rc";\
echo "to ~/.login for C shells (e.g. tcsh).";\
echo "==================================================";\
echo ""