forked from WolfgangWaltenberger/rave
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
52 lines (38 loc) · 1.14 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
ACLOCAL_AMFLAGS = -I m4 -I m4/cedar
SUBDIRS = src src/RecoVertex
if HAS_UNITTESTS
SUBDIRS += UnitTests
endif
if HAS_FLAVORTAGGING
SUBDIRS+=src/RecoBTag
endif
SUBDIRS+=src/RaveBase tests
if JAVA_ENABLED
SUBDIRS+= java
endif
# rules for pkg-config
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = rave.pc rave-impl.pc
swighdrdir = $(includedir)/rave/swig
swighdr_DATA = rave_autoconf.i rave_vcbuild.i rave.i
# install cmake configuration file
cmakeconfigdir = $(pkgdatadir)
cmakeconfig_DATA = RaveConfig.cmake
EXTRA_DIST = rave_autoconf.i rave_vcbuild.i rave.i vcconfig.h Rave.sln Rave.vcproj
$(pkgconfig_DATA): config.status
rpmbuild:
./configure
make clean
rm -rf /tmp/rave-${VERSION}
cp -r . /tmp/rave-${VERSION}
cd /tmp && tar czvf /usr/src/redhat/SOURCES/rave-${VERSION}.tar.gz rave-${VERSION}
rpmbuild -bb rave.spec
# mkdir -p /usr/src/redhat/BUILD/rave-${VERSION}/
if IS_WIN32
dlls:
cd src && $(MAKE) dlls
endif
# dist dist-zip
hepforge_distupload:
test -e rave-${VERSION}.tar.gz && scp rave-${VERSION}.tar.gz login.hepforge.org:rave/downloads
test -e rave-${VERSION}.zip && scp rave-${VERSION}.zip login.hepforge.org:rave/downloads