From: cvetan Date: Wed, 16 Jan 2008 15:54:54 +0000 (+0000) Subject: New alimdc-rpm target for building of the alimdc RPM. For the moment it requires... X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=99102ed0f8cd40f96e7edd8e6f24ec5db2615197;p=u%2Fmrichter%2FAliRoot.git New alimdc-rpm target for building of the alimdc RPM. For the moment it requires manual modification of RAW/alimdc.spec file to set up the release and version fields. --- diff --git a/Makefile b/Makefile index c27ca3bdf45..fd3068eec2e 100644 --- a/Makefile +++ b/Makefile @@ -259,6 +259,23 @@ aliroot: alilibs $(BINPATH) $(ALLEXECS) ROOTALIBDIR=$(shell root-config --libdir) +alimdc-rpm: alimdc-static RAW/alimdc.spec + $(MUTE)rm -rf alimdc-root + $(MUTE)mkdir -p alimdc-root/opt/alimdc/lib + $(MUTE)mkdir -p alimdc-root/opt/alimdc/include + $(MUTE)cp RAW/mdc.h alimdc-root/opt/alimdc/include + $(MUTE)cp $(LIBPATH)/libAliMDC.a \ + $(ROOTALIBDIR)/libRoot.a \ + $(ROOTALIBDIR)/libfreetype.a $(ROOTALIBDIR)/libpcre.a \ + alimdc-root/opt/alimdc/lib + $(MUTE)rm -rf RPMS + $(MUTE)mkdir -p RPMS/i386 + $(MUTE)rpmbuild --verbose --define "_topdir $(ALICE_ROOT)" --define "_tmppath $(ALICE_ROOT)" -bb RAW/alimdc.spec + $(MUTE)cp -p RPMS/i386/alimdc-*.rpm . + $(MUTE)rm -rf alimdc-root + $(MUTE)rm -rf RPMS + @echo "***** alimdc RPM created and put $(ALICE_ROOT) folder *****" + alimdc-static: $(LIBPATH) $(BINPATH) $(RAWDatabaseALIB) $(MDCALIB) $(ESDALIB) $(STEERBaseALIB) $(alimdcCXXO) $(MUTE)rm -rf $(LIBPATH)/libAliMDC.a $(MUTE)rm -rf junk