Changed installation directory from ROOTSYS to /usr/local
This commit is contained in:
@ -52,6 +52,9 @@ LDFLAGS = -g
|
|||||||
SOFLAGS = -dynamic
|
SOFLAGS = -dynamic
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# installation directory
|
||||||
|
INSTALL_DIR = /usr/local
|
||||||
|
|
||||||
# the output from the root-config script:
|
# the output from the root-config script:
|
||||||
CXXFLAGS += $(ROOTCFLAGS)
|
CXXFLAGS += $(ROOTCFLAGS)
|
||||||
LDFLAGS +=
|
LDFLAGS +=
|
||||||
@ -95,8 +98,8 @@ PSimulateMuTransitionDict.cpp: PSimulateMuTransition.h PSimulateMuTransitionLink
|
|||||||
install: all
|
install: all
|
||||||
@echo "Installing shared lib: libPSimulateMuTransition.so"
|
@echo "Installing shared lib: libPSimulateMuTransition.so"
|
||||||
ifeq ($(OS),LINUX)
|
ifeq ($(OS),LINUX)
|
||||||
cp -pv $(SHLIB) $(ROOTSYS)/lib
|
cp -pv $(SHLIB) $(INSTALL_DIR)/lib
|
||||||
cp -pv PSimulateMuTransition.h $(ROOTSYS)/include
|
cp -pv PSimulateMuTransition.h $(INSTALL_DIR)/include
|
||||||
# for root6
|
# for root6
|
||||||
cp -pv PSimulateMuTransitionDict_rdict.pcm $(ROOTSYS)/lib
|
cp -pv PSimulateMuTransitionDict_rdict.pcm $(INSTALL_DIR)/lib
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user