Build: tidying
[exim.git] / test / Makefile.in
index 9984ee43faa859152d69122df4d8e26e270d4922..f7a2a4695b68df277dd446a5c9badba5ba5a2a22 100644 (file)
@@ -28,7 +28,8 @@ all:            binaries sysbinaries
 binaries:      $(BINARIES)
 
 sysbinaries:   FORCE binaries
-               bin/locate initdb postgres pg_ctl mysqld
+               rm -f bin.sys/*
+               bin/locate initdb postgres pg_ctl psql mysqld mysql
                ls -la bin.sys
 
 # Compile and link the programs:
@@ -59,7 +60,7 @@ bin/client-ssl: $(SRC)/client.c Makefile
                $(CC) $(CFLAGS) -DHAVE_OPENSSL $(LDFLAGS) -o bin/client-ssl $(SRC)/client.c -lssl -lcrypto $(LIBS)
 
 $(CLIENT_ANYTLS): $(CLIENT_GNUTLS) $(CLIENT_OPENSSL)
-               [ -n "$(CLIENT_GNUTLS)" ] && ln -sf $(CLIENT_GNUTLS) $@ || ln -sf $(CLIENT_OPENSSL) $@
+               [ -n "$(CLIENT_GNUTLS)" ] && ln -sf `basename $(CLIENT_GNUTLS)` $@ || ln -sf `basename $(CLIENT_OPENSSL)` $@
 
 bin/checkaccess:$(SRC)/checkaccess.c Makefile
                $(CC) $(CFLAGS) -DNO_TLS $(LDFLAGS) -o bin/checkaccess $(SRC)/checkaccess.c