More helpful error message when you run domtool-adduser off deleuze
[hcoop/domtool2.git] / Makefile
index 31f72ba..43719ea 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,10 @@
 all: mlton
 
 COMMON_DEPS := configDefault/config.sig configDefault/configDefault.sml \
-       openssl/openssl_sml.so
+       openssl/openssl_sml.so config.sml
+
+config.sml:
+       echo -e 'structure Config :> CONFIG = struct\nopen ConfigDefault\nend' > $@
 
 .PHONY: all mlton smlnj install
 
@@ -129,7 +132,7 @@ bin/vmail: $(COMMON_MLTON_DEPS) src/vmail.mlb
        $(MLTON) -output bin/vmail src/vmail.mlb
 
 bin/setsa: $(COMMON_MLTON_DEPS) src/setsa.mlb
-       $(MLTON) -output bin/setsa -ldl src/setsa.mlb
+       $(MLTON) -output bin/setsa src/setsa.mlb
 
 bin/smtplog: $(COMMON_MLTON_DEPS) src/smtplog.mlb
        $(MLTON) -output bin/smtplog src/smtplog.mlb
@@ -163,4 +166,4 @@ install:
 .PHONY: grab_lib
 
 grab_lib:
-       rsync --delete /afs/hcoop.net/common/etc/domtool/lib/* lib/
+       rsync -r --delete /afs/hcoop.net/common/etc/domtool/lib/* lib/