#!/bin/sh siteko="/opt/milis-site" belgeko=${siteko}/belgeler if [ -d ${belgeko} ].;then rm -rf ${belgeko}/* else mkdir -p ${belgeko} fi make html && cp -rf _build/html/* ${belgeko}/