/[shmookey]/portconf/Makefile


UCC Code Repository

Diff of /portconf/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 61 by shmookey, Fri Mar 21 04:18:15 2008 UTC revision 66 by shmookey, Sat Mar 22 07:01:38 2008 UTC
# Line 1  Line 1 
1  WWW_PATH=/var/www/portconf  WWW_PATH=/var/www
2  INSTALL_PATH=/usr/local/pycisco  INSTALL_PATH=/usr/local/pycisco
3    
4  install:  install:
5          mkdir -p $(WWW_PATH)          cp -r * $(WWW_PATH)
         cp src/index.html $(WWW_PATH)  
         cp src/index.py $(WWW_PATH)  
         cp src/login.html $(WWW_PATH)  
         cp src/login.py $(WWW_PATH)  
         cp src/update.py $(WWW_PATH)  
         cp src/sidebar.py $(WWW_PATH)  
         cp src/pyaaa.py $(WWW_PATH)  
         cp src/.htaccess $(WWW_PATH)  
         cp src/.htpasswd $(WWW_PATH)  
         cp -r src/style $(WWW_PATH)  
         chmod 500 $(WWW_PATH)/.ht*  
         chown -R www-data:www-data $(WWW_PATH)  
   
         mkdir -p $(INSTALL_PATH)/etc  
         cp -r src/pycisco/lib $(INSTALL_PATH)  
         cp -i src/pycisco/etc/Config.py $(INSTALL_PATH)/etc/  
         cp -i src/pycisco/etc/Switches.py $(INSTALL_PATH)/etc/  
         chmod -R 700 $(INSTALL_PATH)/etc  
         chown -R www-data:www-data $(INSTALL_PATH)/etc  

Legend:
Removed from v.61  
changed lines
  Added in v.66

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26