classify-users: determine type of Athena accounts
[user/alex/software/my-snippets.git] / Makefile
index ff96bc99c84cba7df15e426879ecd1d3e2c9422e..357dbf7a96bc0588446db6bfce58ec6a6a0f39aa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,37 @@
 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  rt-resolve
-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)))