diff options
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 8daa3b3..a3e8f1e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,7 +32,8 @@ thisinclude_HEADERS = \ include/rs_vand/liberasurecode_rs_vand.h install-exec-hook: - -(cd $(DESTDIR)$(includedir) && \ + -(mkdir -p $(DESTDIR)$(includedir) && \ + cd $(DESTDIR)$(includedir) && \ rm -f erasurecode.h erasurecode_version.h \ erasurecode_stdinc.h erasurecode_helpers.h \ config_liberasurecode.h && \ |