-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
39 lines (31 loc) · 1.16 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
#
# Copyright (C) 2012, Northwestern University.
# See COPYRIGHT notice in top-level directory.
#
# @configure_input@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src . run
DIST_SUBDIRS = src run
EXTRA_DIST = ACKNOWLEDGEMENTS README.md RELEASE_NOTES doc inputs
# For VPATH build (parallel build), try delete all sub-directories
distclean-local:
if [ "$(abs_builddir)" != "$(abs_srcdir)" ] ; then \
for d in $(DIST_SUBDIRS) ; do \
rmdir $$d || true ; \
done ; \
fi
install-exec-hook:
@echo '+----------------------------------------------------------------------------+'
@echo '|'
@echo '| GCRM-IO has been successfully installed under'
@echo '| ./run'
@echo '|'
@echo '| * The executable name: gcrm_io'
@echo '| * Addition input parameter files are available under'
@echo '| $(abs_srcdir)/inputs'
@echo '|'
@echo '+----------------------------------------------------------------------------+'
dist-hook:
$(SED_I) -e "1,10s|_RELEASE_DATE_|`date '+%B %e, %Y'`|" $(distdir)/RELEASE_NOTES
$(SED_I) -e "1,10s|_VERSION_|$(VERSION)|" $(distdir)/RELEASE_NOTES
$(SED_I) -e "s|_VERSION_|$(VERSION)|" $(distdir)/INSTALL