I'm trying to write a Makefile to install the content of my folder into another on the system.
I would like to keep the same directory structure, like this.
localfolder ├── a └── b ├── c └── d ├── e └── f
I tried different options, but it does nothing
$ install -d localfolder /opt/folder (does nothing) $ install -t localfolder /opt/folder install: omitting directory '/opt/folder' $ install -D localfolder /opt/folder install: omitting directory 'localfolder'
Can anyone point me into the right direction ? Googling 'linux install command' is not bringing any pertinent information.