fix 'Can't call method "setup" on an undefined value' error when using into rates...
[freeside.git] / rt / Makefile
index 2365d92..8f92020 100644 (file)
@@ -63,7 +63,7 @@ SITE_CONFIG_FILE      =       $(CONFIG_FILE_PATH)/RT_SiteConfig.pm
 
 RT_VERSION_MAJOR       =       3
 RT_VERSION_MINOR       =       8
-RT_VERSION_PATCH       =       9
+RT_VERSION_PATCH       =       10
 
 RT_VERSION             =       $(RT_VERSION_MAJOR).$(RT_VERSION_MINOR).$(RT_VERSION_PATCH)
 TAG                    =       rt-$(RT_VERSION_MAJOR)-$(RT_VERSION_MINOR)-$(RT_VERSION_PATCH)
@@ -327,6 +327,8 @@ fixperms:
 
        chmod 0440 $(DESTDIR)$(CONFIG_FILE)
        chmod 0640 $(DESTDIR)$(SITE_CONFIG_FILE)
+       # Make this externally readable
+       chmod 0440 $(DESTDIR)$(RT_ETC_PATH)/initialdata
 
        # Make the system binaries
        cd $(DESTDIR)$(RT_BIN_PATH) && ( chmod 0755 $(BINARIES) ; chown $(BIN_OWNER) $(BINARIES);  chgrp $(RTGROUP) $(BINARIES))
@@ -527,7 +529,7 @@ apachectl:
 SNAPSHOT=$(shell git describe --tags)
 snapshot:
        git archive --prefix "$(SNAPSHOT)/"  HEAD | tar -xf -
-       ( cd $(SNAPSHOT) && autoconf && ./configure )
+       ( cd $(SNAPSHOT) && autoconf && PERL=/usr/bin/perl ./configure )
        tar -czf "$(SNAPSHOT).tar.gz" "$(SNAPSHOT)/"
        rm -fr "$(SNAPSHOT)/"