Changeset 978 for branches/1.2/Makefile


Ignore:
Timestamp:
08/21/15 10:28:03 (9 years ago)
Author:
olahaye
Message:

[rpm build] Avoid using fakeroot to build rpm packages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/Makefile

    r977 r978  
    7777        @ls -1 ../jobmonarch*$(VERSION)*.deb
    7878
    79 install:  ${REQUIRED}
     79install:  install-files install-perms
     80
     81install-files:  ${REQUIRED}
    8082        @#
    8183        @# Set the correct GANGLIA_PATH.
     
    154156        @echo "Installing Ganglia web interface to $(GANGLIA_ROOT) ."
    155157        @install -m 0755 -d $(DESTDIR)$(GANGLIA_ROOT)
    156         @chown -R $(GANGLIA_USER) ./web
    157         @chown $(HTTPD_USER) ./web/addons/job_monarch/dwoo/compiled
    158         @chown $(HTTPD_USER) ./web/addons/job_monarch/dwoo/cache
    159158        @chmod 775 ./web/addons/job_monarch/dwoo/cache
    160159        @(cd web; rsync -a --exclude=.svn --exclude=*_test* --exclude=*-example.php ./addons ./templates $(DESTDIR)$(GANGLIA_ROOT)/)
     
    163162        @echo "Installation complete."
    164163        @echo
     164
     165install-perms:
     166        @chown -R $(GANGLIA_USER) $(DESTDIR)$(GANGLIA_ROOT)
     167        @chown $(HTTPD_USER) $(DESTDIR)$(GANGLIA_ROOT)/addons/job_monarch/dwoo/compiled
     168        @chown $(HTTPD_USER) $(DESTDIR)$(GANGLIA_ROOT)/addons/job_monarch/dwoo/cache
    165169
    166170clean:
Note: See TracChangeset for help on using the changeset viewer.