
* Trailing whitespace cleanup * Handcraft an install process for mummer (grumble) Mummer punts on an installation step, they just build in and run from the same directory. Mummer also has various hardcoded paths built into it that allow it to find other executables that it needs as well as its Perl library. This updates the package to deal with this approach. It patches the Makefile and scripts/Makefile so that the correct info is fed to sed when it munges the perl scripts. The install step is now finer grained and puts things where mummer relatively wants to find them. * Add perl dependency * perl should be build/run dependency * Fix whitespace * Delete stray u at top of file
25 lines
769 B
Diff
25 lines
769 B
Diff
--- a/Makefile 2017-05-15 17:33:05.132803923 -0700
|
|
+++ b/Makefile 2017-05-16 16:01:29.264842369 -0700
|
|
@@ -35,6 +35,13 @@
|
|
TIGR_SRC_DIR := $(TOP_DIR)/src/tigr
|
|
KURTZ_SRC_DIR := $(TOP_DIR)/src/kurtz
|
|
|
|
+ifndef INSTALL_TOP_DIR
|
|
+INSTALL_TOP_DIR := $(TOP_DIR)
|
|
+endif
|
|
+INSTALL_BIN_DIR := $(INSTALL_TOP_DIR)/bin
|
|
+INSTALL_AUX_BIN_DIR := $(INSTALL_TOP_DIR)/aux_bin
|
|
+INSTALL_SCRIPT_DIR := $(INSTALL_TOP_DIR)/scripts
|
|
+
|
|
CC := $(filter /%,$(shell /bin/sh -c 'type gcc'))
|
|
CXX := $(filter /%,$(shell /bin/sh -c 'type g++'))
|
|
SED := $(filter /%,$(shell /bin/sh -c 'type sed'))
|
|
@@ -52,6 +59,7 @@
|
|
|
|
#-- EXPORT THESE VARIABLES TO OTHER MAKEFILES
|
|
export BIN_DIR AUX_BIN_DIR CXX CC CFLAGS CXXFLAGS LDFLAGS
|
|
+export INSTALL_BIN_DIR INSTALL_AUX_BIN_DIR INSTALL_SCRIPT_DIR
|
|
|
|
|
|
|