forked from hpc/mpifileutils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
56 lines (45 loc) · 1.67 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
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src
if EXPERIMENTAL_ENABLED
SUBDIRS += experimental
endif
if HAVE_NOSETESTS
test:
-(pushd $(top_srcdir)/test>/dev/null && ~/fileutils.git/venv/bin/nose2 -v && popd>/dev/null)
else
test:
@(echo "The nosetests command could not be found. Please install Nose with your")
@(echo "package manager or 'pip install nose', then rerun the configure script.")
@false;
endif
MAINTAINERCLEANFILES = \
aclocal.m4 config.guess config.xml \
config.h.in config.sub configure install-sh \
ltconfig ltmain.sh missing mkinstalldirs \
stamp-h.in
BUILD_DIRS = BUILD BUILDROOT RPMS SOURCES SPECS SRPMS
$(BUILD_DIRS):
rm -rf $@
mkdir $@
distclean-local:
-(cd $(top_srcdir) && rm -rf autom4te*.cache autoscan.*)
-(cd $(top_srcdir) && rm -rf $(PACKAGE)-*)
-(cd $(top_srcdir) && rm -rf $(BUILD_DIRS))
mrproper: distclean-local clean
-(cd $(top_srcdir) && rm -rf autom4te.cache config.h config.log)
-(cd $(top_srcdir) && rm -rf config.status libtool stamp-h1)
-(cd $(top_srcdir) && rm -rf auxdir)
-(cd $(top_srcdir) && rm -f configure configure.ac~)
-(cd $(top_srcdir) && rm -f config.h.in config.h.in~)
-(cd $(top_srcdir)/m4 && rm -f libtool.m4 ltoptions.m4)
-(cd $(top_srcdir)/m4 && rm -f ltsugar.m4 ltversion.m4)
-(cd $(top_srcdir)/m4 && rm -f lt~obsolete.m4)
-find $(top_srcdir)/ -name "Makefile" -exec rm {} \;
-find $(top_srcdir)/ -name "Makefile.in" -exec rm {} \;
-find $(top_srcdir)/ -name ".dirstamp" -exec rm {} \;
-find $(top_srcdir) -depth -name ".deps" -exec rm -rf {} \;
rpm: dist ${BUILD_DIRS}
mv $(distdir).tar.gz SOURCES
rpmbuild -ba --define="_topdir `pwd`" mpifileutils.spec
.PHONY: test