added: etc directory to Makefile install

git-svn-id: svn:// e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2012-06-22 23:41:12 +00:00
parent d11cda3577
commit 54e6c07efc
1 changed files with 4 additions and 0 deletions

View File

@ -99,6 +99,10 @@ install: all
cp /usr/local/winix/bin
# use the full path with (we have to recompile winix with a new path to
$(CXX) -o /usr/local/winix/bin/winix $(CXXFLAGS) main/*.o /usr/local/winix/bin/
# etc configs
mkdir -p /usr/local/winix/etc
cp -rf etc/ /usr/local/winix/etc/
find /usr/local/winix/etc/ -type d -name ".svn" | xargs -I foo rm -fr foo
# html templates
mkdir -p /usr/local/winix/html
cp -rf html/ /usr/local/winix/html/