/[shmookey]/portconf/Makefile


UCC Code Repository

Contents of /portconf/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 61 - (hide annotations) (download)
Fri Mar 21 04:18:15 2008 UTC (13 years, 8 months ago) by shmookey
File size: 720 byte(s)
restructure

1 shmookey 53 WWW_PATH=/var/www/portconf
2 shmookey 54 INSTALL_PATH=/usr/local/pycisco
3 shmookey 53
4     install:
5     mkdir -p $(WWW_PATH)
6     cp src/index.html $(WWW_PATH)
7     cp src/index.py $(WWW_PATH)
8 shmookey 56 cp src/login.html $(WWW_PATH)
9     cp src/login.py $(WWW_PATH)
10 shmookey 53 cp src/update.py $(WWW_PATH)
11 shmookey 55 cp src/sidebar.py $(WWW_PATH)
12 shmookey 57 cp src/pyaaa.py $(WWW_PATH)
13 shmookey 53 cp src/.htaccess $(WWW_PATH)
14     cp src/.htpasswd $(WWW_PATH)
15 shmookey 61 cp -r src/style $(WWW_PATH)
16 shmookey 54 chmod 500 $(WWW_PATH)/.ht*
17     chown -R www-data:www-data $(WWW_PATH)
18 shmookey 53
19     mkdir -p $(INSTALL_PATH)/etc
20     cp -r src/pycisco/lib $(INSTALL_PATH)
21     cp -i src/pycisco/etc/Config.py $(INSTALL_PATH)/etc/
22     cp -i src/pycisco/etc/Switches.py $(INSTALL_PATH)/etc/
23 shmookey 55 chmod -R 700 $(INSTALL_PATH)/etc
24     chown -R www-data:www-data $(INSTALL_PATH)/etc

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26