Changeset 2335

Show
Ignore:
Timestamp:
03/05/04 05:16:00 (9 years ago)
Author:
mds
Message:

remove root uid/gid from install in Makefiles

Location:
lm-sensors/trunk/prog
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/hotplug/Makefile

    r1748 r2335  
    1919 
    2020install: all 
    21         install -o root -g root -m 644 $(OBJS) /lib/modules/$(VER)/kernel/drivers/i2c/busses 
     21        install -m 644 $(OBJS) /lib/modules/$(VER)/kernel/drivers/i2c/busses 
    2222 
    2323clean: 
  • lm-sensors/trunk/prog/rrd/Makefile

    r1278 r2335  
    22# Edit the following for your setup 
    33# 
    4 USER=httpd 
     4USER=apache 
    55#CRONTAB=/var/spool/cron/tabs/$(USER) 
    66RRDPATH=/usr/local/rrdtool/bin 
    77BINPATH=/usr/local/bin 
    88RRDDIR=/var/lib/sensors-rrd 
    9 APACHE=/usr/local/apache/htdocs 
     9APACHE=/var/www/html 
    1010APACHDIR=$(APACHE)/senspix 
    11 SENSDEV=w83781d-isa-0290 
     11SENSDEV=bmc-ipmi-0000 
    1212MACH=`uname -n` 
    1313# 
     
    4242 
    4343install: all $(RRDB) $(SENSDIR) $(CRONTAB) $(APACHDIR)/pix 
    44         install -o root -g root -m 755 sens_update_rrd $(BINPATH) 
    45         install -o root -g root -m 755 sens_week.cgi $(APACHDIR) 
    46         install -o root -g root -m 755 sens_day.cgi $(APACHDIR) 
    47         install -o root -g root -m 755 summ_week.cgi $(APACHDIR) 
     44        install -m 755 sens_update_rrd $(BINPATH) 
     45        install -m 755 sens_week.cgi $(APACHDIR) 
     46        install -m 755 sens_day.cgi $(APACHDIR) 
     47        install -m 755 summ_week.cgi $(APACHDIR) 
    4848#       grep sens_update_rrd $(CRONTAB) > /dev/null 2>&1 || echo '*/5 * * * *   /usr/local/bin/sens_update_rrd' $(RRDB) $(SENSDEV) >> $(CRONTAB) 
    4949        @echo