archdir=/mit/$(ATHENA_USER)/arch/
-common=$(archdir)/common/
-scripts=bores-me card-access grep-owners ldapfinger list-members list-of-lists-updater lists-lint rt-set
-arches=i386_deb31 i386_deb40 i386_deb50 i386_rhel4
+common=$(archdir)/common/bin/
+
+scripts=\
+ bores-me\
+ classify-users\
+ diff-memberships\
+ get-emails\
+ grep-owners\
+ ldapfinger\
+ list-of-lists-updater\
+ lists-lint\
+ mail-merge\
+ make-zcrypt-key\
+ rblanche.py\
+ rt-resolve\
+ rt-set\
+ sshroot\
+ update-officers\
+
+arches=\
+ i386_deb31\
+ i386_deb40\
+ i386_deb50\
+ i386_rhel4\
all : install
$(common)/% : %
- cp $< $@
+ install -c -m 555 $< $@
$(foreach script,$(scripts),$(foreach arch,$(arches),$(archdir)/$(arch)/bin/$(script))) :
#$(archdir)/*/bin/* :
- ln -s ../../common/$(@F) $(@D)
+ ln -s ../../common/bin/$(@F) $(@D)
symlinks : $(foreach script,$(scripts),$(foreach arch,$(arches),$(archdir)/$(arch)/bin/$(script)))