- mkdir -p $(DESTDIR)/$(RT_LOG_PATH)
- mkdir -p $(DESTDIR)/$(MASON_DATA_PATH)
- mkdir -p $(DESTDIR)/$(MASON_DATA_PATH)/cache
- mkdir -p $(DESTDIR)/$(MASON_DATA_PATH)/etc
- mkdir -p $(DESTDIR)/$(MASON_DATA_PATH)/obj
- mkdir -p $(DESTDIR)/$(MASON_SESSION_PATH)
- mkdir -p $(DESTDIR)/$(MASON_HTML_PATH)
- mkdir -p $(DESTDIR)/$(MASON_LOCAL_HTML_PATH)
- mkdir -p $(DESTDIR)/$(LOCAL_ETC_PATH)
- mkdir -p $(DESTDIR)/$(LOCAL_LIB_PATH)
- mkdir -p $(DESTDIR)/$(LOCAL_LEXICON_PATH)
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(RT_LOG_PATH)
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(RT_FONT_PATH)
+ $(INSTALL) -m 0770 -d $(DESTDIR)$(MASON_DATA_PATH)
+ $(INSTALL) -m 0770 -d $(DESTDIR)$(MASON_DATA_PATH)/cache
+ $(INSTALL) -m 0770 -d $(DESTDIR)$(MASON_DATA_PATH)/etc
+ $(INSTALL) -m 0770 -d $(DESTDIR)$(MASON_DATA_PATH)/obj
+ $(INSTALL) -m 0770 -d $(DESTDIR)$(MASON_SESSION_PATH)
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(MASON_HTML_PATH)
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(MASON_LOCAL_HTML_PATH)
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(LOCAL_ETC_PATH)
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(LOCAL_LIB_PATH)
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(LOCAL_PLUGIN_PATH)
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(LOCAL_LEXICON_PATH)