diff options
author | Arun Isaac | 2022-06-29 16:31:14 +0530 |
---|---|---|
committer | Arun Isaac | 2022-06-29 16:31:14 +0530 |
commit | 2ef55e68fd39231e631d51c703b8d8194c4744f9 (patch) | |
tree | 14fde5e353835197e0cf597f74dba75669839e80 | |
parent | 2f893ae65bcd006cbdce866637f7fe66212ed6a6 (diff) | |
download | tissue-2ef55e68fd39231e631d51c703b8d8194c4744f9.tar.gz tissue-2ef55e68fd39231e631d51c703b8d8194c4744f9.tar.lz tissue-2ef55e68fd39231e631d51c703b8d8194c4744f9.zip |
Makefile: Preserve directory structure during installation.
* Makefile (install): Preserve directory structure when installing
sources and objects.
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -47,8 +47,9 @@ check: ; install: install -D $(scripts) --target-directory $(bindir) - install -D $(sources) --target-directory $(scmdir) - install -D $(objects) --target-directory $(godir) + mkdir -p $(scmdir) $(godir) + cp --parents -vr $(sources) $(scmdir) + cp --parents -vr $(objects) $(godir) clean: rm -f $(objects) |