diff options
author | flip111 <flip101@gmail.com> | 2018-05-22 16:27:41 +0200 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2018-05-22 21:02:56 +0200 |
commit | 0d4bfcdca0e2cda064e82a7e9dfad323877c4c88 (patch) | |
tree | 4d5d5eda38599ea008f90d250ab80cc30e7da9fe | |
parent | daf1cd37a4fc67aa959a575b24470ccdf2da61df (diff) | |
download | ghdl-0d4bfcdca0e2cda064e82a7e9dfad323877c4c88.tar.gz ghdl-0d4bfcdca0e2cda064e82a7e9dfad323877c4c88.tar.bz2 ghdl-0d4bfcdca0e2cda064e82a7e9dfad323877c4c88.zip |
Update Makefile.in
make fails if mkdir command fails. `-` in front of mkdir treats it as a success. This is useful when reusing existing `bin`-dir & friends. Or when building/installing ghdl a second time
-rw-r--r-- | Makefile.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in index 70472a05e..138b50759 100644 --- a/Makefile.in +++ b/Makefile.in @@ -441,11 +441,11 @@ endif install.dirs: # Use -p to create parents and to avoid error if existing. - $(MKDIR) -p $(DESTDIR)$(prefix) - $(MKDIR) -p $(DESTDIR)$(bindir) - $(MKDIR) -p $(DESTDIR)$(libdir) - $(MKDIR) -p $(DESTDIR)$(prefix)/$(libdirsuffix) - $(MKDIR) -p $(DESTDIR)$(incdir) + -$(MKDIR) -p $(DESTDIR)$(prefix) + -$(MKDIR) -p $(DESTDIR)$(bindir) + -$(MKDIR) -p $(DESTDIR)$(libdir) + -$(MKDIR) -p $(DESTDIR)$(prefix)/$(libdirsuffix) + -$(MKDIR) -p $(DESTDIR)$(incdir) install.vhdllib: install.dirs # Libraries (only if not empty) @@ -458,7 +458,7 @@ install.vhdllib: install.dirs $(INSTALL_DATA) -p \ $(srcdir)/dist/ansi_color.sh $(DESTDIR)$(VHDL_LIB_DIR)/; # Vendors scripts - $(MKDIR) -p $(DESTDIR)$(VHDL_LIB_DIR)/vendors + -$(MKDIR) -p $(DESTDIR)$(VHDL_LIB_DIR)/vendors $(INSTALL_DATA) -p \ $(LIBSRC_DIR)/vendors/* $(DESTDIR)$(VHDL_LIB_DIR)/vendors/ $(INSTALL_PROGRAM) -p \ |