Added mkdir for install

SVN revision: 2112
This commit is contained in:
Stefan Ritt 2008-06-09 10:04:05 +00:00
parent fa411b75ed
commit 4f6f4eefbe

View File

@ -135,7 +135,7 @@ install: $(EXECS)
@echo "Installing FCKeditor to $(ELOGDIR)/scripts/fckeditor" @echo "Installing FCKeditor to $(ELOGDIR)/scripts/fckeditor"
@unzip -q -o scripts/fckeditor.zip -d $(ELOGDIR)/scripts/ @unzip -q -o scripts/fckeditor.zip -d $(ELOGDIR)/scripts/
@$(INSTALL) -v -m 0644 scripts/fckeditor/fckelog.js $(ELOGDIR)/scripts/fckeditor/fckelog.js @$(INSTALL) -v -m 0644 scripts/fckeditor/fckelog.js $(ELOGDIR)/scripts/fckeditor/fckelog.js
@mkdir -p -m 0644 $(ELOGDIR)/scripts/fckeditor/editor/plugins/elog @mkdir -p -m 0755 $(ELOGDIR)/scripts/fckeditor/editor/plugins/elog
@$(INSTALL) -v -m 0644 scripts/fckeditor/editor/plugins/elog/fckplugin.js $(ELOGDIR)/scripts/fckeditor/editor/plugins/elog/fckplugin.js @$(INSTALL) -v -m 0644 scripts/fckeditor/editor/plugins/elog/fckplugin.js $(ELOGDIR)/scripts/fckeditor/editor/plugins/elog/fckplugin.js
@$(INSTALL) -v -m 0644 scripts/fckeditor/editor/plugins/elog/inserttime.gif $(ELOGDIR)/scripts/fckeditor/editor/plugins/elog/inserttime.gif @$(INSTALL) -v -m 0644 scripts/fckeditor/editor/plugins/elog/inserttime.gif $(ELOGDIR)/scripts/fckeditor/editor/plugins/elog/inserttime.gif
@ -156,6 +156,7 @@ install: $(EXECS)
fi fi
@sed "s#\@PREFIX\@#$(PREFIX)#g" elogd.init_template > elogd.init @sed "s#\@PREFIX\@#$(PREFIX)#g" elogd.init_template > elogd.init
@mkdir -p -m 0755 $(RCDIR)
@$(INSTALL) -v -m 0755 elogd.init $(RCDIR)/elogd @$(INSTALL) -v -m 0755 elogd.init $(RCDIR)/elogd
@if [ ! -f $(ELOGDIR)/elogd.cfg ]; then \ @if [ ! -f $(ELOGDIR)/elogd.cfg ]; then \