Changeset 862
- Timestamp:
- 05/15/13 15:12:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/Makefile
r859 r862 65 65 @# Set the correct GANGLIA_PATH. 66 66 @# 67 @echo "\nUsing $(GANGLIA_ROOT) as Ganglia root installation path. If it's not what" 67 @echo 68 @echo "Using $(GANGLIA_ROOT) as Ganglia root installation path. If it's not what" 68 69 @echo "you want, use make GANGLIA_ROOT=/path/to/your/ganglia/root ." 69 70 @sed -e 's|__GANGLIA_ROOT__|$(GANGLIA_ROOT)/|g' web/conf.php.in > web/addons/job_monarch/conf.php … … 71 72 @# Set the correct JOBARCHIVE_RRDS in jobarchve.conf and ganglia conf.php 72 73 @# 73 @echo "\nUsing $(JOBARCHIVE_RRDS) as jobarchive path to store rrds files. If it's not what" 74 @echo 75 @echo "Using $(JOBARCHIVE_RRDS) as jobarchive path to store rrds files. If it's not what" 74 76 @echo "you want, use make JOBARCHIVE_RRDS=/path/to/you/jobarchived/rrdsfiles ." 75 77 @sed -i -e 's|/var/lib/jobarchive|$(JOBARCHIVE_RRDS)|g' jobarchived/jobarchived.conf web/addons/job_monarch/conf.php … … 77 79 @# Files in SBIN_DIR 78 80 @# 79 @echo "\nInstalling jobmond.py and jobarchived.py to $(PREFIX)/sbin" 81 @echo 82 @echo "Installing jobmond.py and jobarchived.py to $(PREFIX)/sbin" 80 83 @install -m 0755 -d $(DESTDIR)$(PREFIX)/sbin 81 84 @install -m 0755 jobmond/jobmond.py $(DESTDIR)$(PREFIX)/sbin/ … … 85 88 @# Files specific to distros if /etc/sysconfig => rpm else (/etc/default => debian) 86 89 @# 87 @echo "\nInstalling service files in $(DESTDIR)/etc" 90 @echo 91 @echo "Installing service files in /etc" 88 92 @if test -d /etc/sysconfig; then \ 89 93 install -m 0755 -d $(DESTDIR)/etc/rc.d/init.d; \ … … 104 108 @# Files in /etc 105 109 @# 106 @echo "\nInstalling config files jobmond.conf jobarchived.conf in $(DESTDIR)/etc" 110 @echo 111 @echo "Installing config files jobmond.conf jobarchived.conf in /etc" 107 112 @install -m 0644 jobmond/jobmond.conf $(DESTDIR)/etc 108 113 @install -m 0644 jobarchived/jobarchived.conf $(DESTDIR)/etc … … 110 115 @# Files in /usr/share 111 116 @# 112 @echo "\nInstalling job_dbase.sql in $(PREFIX)/share/jobarchived" 117 @echo 118 @echo "Installing job_dbase.sql in $(PREFIX)/share/jobarchived" 113 119 @install -m 0755 -d $(DESTDIR)$(PREFIX)/share/jobarchived 114 120 @install -m 0755 jobarchived/job_dbase.sql $(DESTDIR)$(PREFIX)/share/jobarchived/ … … 116 122 @# Create the /var/lib/jobarchive directory where rrds are stored. 117 123 @# 118 @echo "\nCreating the directory where RRDs will be stored: $(JOBARCHIVE_RRDS)" 124 @echo 125 @echo "Creating the directory where RRDs will be stored: $(JOBARCHIVE_RRDS)" 119 126 @install -m 0755 -d $(DESTDIR)$(JOBARCHIVE_RRDS) 120 127 @# 121 128 @# Files for ganglia 122 129 @# 123 @echo "\nInstalling Ganglia web interface to $(GANGLIA_ROOT) ." 130 @echo 131 @echo "Installing Ganglia web interface to $(GANGLIA_ROOT) ." 124 132 @install -m 0755 -d $(DESTDIR)$(GANGLIA_ROOT) 125 133 @chown -R $(GANGLIA_USER) ./web … … 129 137 @(cd web; rsync -a --exclude=.svn --exclude=*_test* --exclude=*-example.php ./addons ./templates $(DESTDIR)$(GANGLIA_ROOT)/) 130 138 @# 131 @echo "\nInstallation complete.\n" 139 @echo 140 @echo "Installation complete." 141 @echo 132 142 133 143 clean:
Note: See TracChangeset
for help on using the changeset viewer.