-d is pretty universal, maybe you're thinking of -D? Usage is like this:

```
# create directories first
install -m 755 -d /foo/bar
install -m 644 baz /foo/bar
```