From: Axel Naumann Date: Thu, 28 Aug 2014 15:03:25 +0000 (+0200) Subject: Generate hsimple.root as part of the build. X-Git-Tag: v6-02-00-rc1~255 X-Git-Url: https://root.cern.ch/gitweb?p=root.git;a=commitdiff_plain;h=e00a048757e2c87e095813a2f1d9658f094ba887 Generate hsimple.root as part of the build. --- diff --git a/Makefile b/Makefile index 41f57cb..caa2e47 100644 --- a/Makefile +++ b/Makefile @@ -680,6 +680,12 @@ ifneq ($(findstring map, $(MAKECMDGOALS)),) .NOTPARALLEL: endif +ifeq ($(USECONFIG),FALSE) +all: tutorials/hsimple.root +tutorials/hsimple.root: rootexecs + (cd tutorials; ! ../bin/root -l -q -b -n -x hsimple.C) +endif + all: rootexecs postbin @echo " " @echo " ============================================================" @@ -1191,6 +1197,8 @@ install: all $(INSTALLDATA) build/misc/root-help.el $(DESTDIR)$(ELISPDIR); \ echo "Installing GDML conversion scripts in $(DESTDIR)$(LIBDIR)"; \ $(INSTALLDATA) $(ROOT_SRCDIR)/geom/gdml/*.py $(DESTDIR)$(LIBDIR); \ + (cd $(DESTDIR)$(TUTDIR); \ + LD_LIBRARY_PATH=$(DESTDIR)$(LIBDIR) ! $(DESTDIR)$(BINDIR)/root -l -b -q -n -x hsimple.C) fi uninstall: