Skip to content

Instantly share code, notes, and snippets.

@shirok
Created May 28, 2012 13:26
Show Gist options
  • Select an option

  • Save shirok/2819171 to your computer and use it in GitHub Desktop.

Select an option

Save shirok/2819171 to your computer and use it in GitHub Desktop.
diff --git a/src/Makefile.in b/src/Makefile.in
index 7b74d53..90507ff 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -420,7 +420,7 @@ install : all install-dirs install-aux install-core
install-dirs :
$(MKINSTDIR) $(INSTALL_DIRS)
-install-core : relink
+install-core : all install-dirs install-aux relink
$(INSTALL) $(INSTALL_LIBS) $(DESTDIR)$(LIB_INSTALL_DIR)
$(INSTALL) $(INSTALL_LIBS) $(DESTDIR)$(ARCH_INSTALL_DIR)
$(INSTALL) -m 555 $(INSTALL_BINS) $(DESTDIR)$(BIN_INSTALL_DIR)
@@ -431,7 +431,7 @@ install-core : relink
$(INSTALL) -m 444 $(srcdir)/gauche-init.scm $(DESTDIR)$(SCM_INSTALL_DIR)
$(POSTINSTALL)
-install-aux :
+install-aux : all install-dirs
$(GAUCHE_INSTALL) -m 444 -S $(srcdir) $(INSTALL_HEADERS) $(DESTDIR)$(HEADER_INSTALL_DIR)
$(GAUCHE_INSTALL) -m 444 -S $(srcdir) $(INSTALL_SUBHEADERS) $(DESTDIR)$(HEADER_INSTALL_DIR)/gauche
$(GAUCHE_INSTALL) -m 444 -S $(srcdir) $(INSTALL_SCMS) $(DESTDIR)$(SCM_INSTALL_DIR)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment