Skip to content
Snippets Groups Projects
Commit c50a61ec authored by Fons Rademakers's avatar Fons Rademakers
Browse files

handle memprobe perl script.

git-svn-id: http://root.cern.ch/svn/root/trunk@2847 27541ba8-7e3a-0410-8455-c3a389f83636
parent af42e82d
No related branches found
No related tags found
No related merge requests found
......@@ -388,6 +388,7 @@ install:
$(INSTALL) $(BINDEXP) $(DESTDIR)$(BINDIR); \
fi; \
$(INSTALL) bin/root-config $(DESTDIR)$(BINDIR); \
$(INSTALL) bin/memprobe $(DESTDIR)$(BINDIR); \
$(INSTALL) $(ALLEXECS) $(DESTDIR)$(BINDIR); \
echo "Installing libraries in $(DESTDIR)$(LIBDIR)"; \
$(INSTALLDIR) $(DESTDIR)$(LIBDIR); \
......@@ -470,6 +471,7 @@ uninstall:
rm -f $(DESTDIR)$(BINDIR)/`basename $(BINDEXP)`; \
fi; \
rm -f $(DESTDIR)$(BINDIR)/root-config; \
rm -f $(DESTDIR)$(BINDIR)/memprobe; \
for i in $(ALLEXECS) ; do \
rm -f $(DESTDIR)$(BINDIR)/`basename $$i`; \
done; \
......
......@@ -14,6 +14,8 @@ RCONFIN=config/root-config.in
RCONFOUT=bin/root-config
ROOTRCIN=config/rootrc.in
ROOTRCOUT=etc/system.rootrc
MEMPROBEIN=config/memprobe.in
MEMPROBEOUT=bin/memprobe
TMAKEIN=test/Makefile.in
TMAKEOUT=test/Makefile
......@@ -117,14 +119,15 @@ else
esac
fi
trap "rm -f Makefile.tmp config.tmp root-config.tmp TMakefile.tmp rootrc.tmp; \
exit 1" 1 2 3 15
trap "rm -f Makefile.tmp config.tmp root-config.tmp TMakefile.tmp rootrc.tmp \
memprobe.tmp; exit 1" 1 2 3 15
cp -f $MAKEIN Makefile.tmp
cp -f $CONFIN config.tmp
cp -f $RCONFIN root-config.tmp
cp -f $TMAKEIN TMakefile.tmp
cp -f $ROOTRCIN rootrc.tmp
cp -f $MEMPROBEIN memprobe.tmp
if [ $# -gt 0 ]; then
while [ "$1" != "" ]; do
......@@ -1484,6 +1487,17 @@ sed -e "s|@libdir@|$libdir|" \
rm -f rootrc.tmp
echo "done"
#---------------------------------------------------------------------
# bin/memprobe
#
echo $ac_n "Writing $MEMPROBEOUT ... $ac_c"
perlexe=`which perl`
sed -e "s|@perl@|$perlexe|" \
< memprobe.tmp > $MEMPROBEOUT
rm -f memprobe.tmp
chmod 755 $MEMPROBEOUT
echo "done"
######################################################################
#
# FAT conversion in test/tutorials
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment