tower tracking, RT#15538
[freeside.git] / rt / Makefile.in
index 43c414e..f963faa 100644 (file)
@@ -170,6 +170,7 @@ SYSTEM_BINARIES             =       rt-attributes-viewer \
                                rt-email-dashboards \
                                rt-email-group-admin \
                                rt-server \
+                               rt-session-viewer \
                                rt-test-dependencies \
                                rt-clean-sessions \
                                rt-shredder \
@@ -317,7 +318,7 @@ fixperms:
        chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)$(RT_BIN_PATH)
 
        chmod 0755 $(DESTDIR)$(RT_ETC_PATH)
-       cd $(DESTDIR)$(RT_ETC_PATH) && chmod 0400 $(ETC_FILES)
+       cd $(DESTDIR)$(RT_ETC_PATH) && chmod 0400 $(ETC_FILES) || true
 
        #TODO: the config file should probably be able to have its
        # owner set separately from the binaries.
@@ -326,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))
@@ -526,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)/"