pretty sure you have air in the system, and here is the procedure for Manual Bleeding of the brakes ( the method is slightly different if you pressure bleed the system).
NEVER at any time pump the brake pedal whilst bleeding the brakes,
fill master cylinder reservoir to maximum level, and keep your eye on it do not let it fall below minimum level, if you do start again.
if you have overhauled the brake calipers, then open the caliper bleed screws, when brake fluid starts to drip from the bleed screw close the screw, until all calipers are closed. ( do not pump the fluid to the caliper ).
then bleed one component at a time in this sequence
master cylinder
junction block
right rear
left rear
right front
left front
use the method with a bleed tube immersed in some brake fluid in a small jar, open bleed screw have a helper press the brake pedal down and whilst the pedal is down close the bleed screw, repeat untill the fluid is clear and air bubble free. then move on to the next component.
do not pump the brake pedal, and do not release the brake pedal untill the bleed screw is closed.