1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Author: Matthijs Kooijman <matthijs@stdin.nl>
Subject: Modify the Makefile to install into $(INSTALL_DIR) directly
Originally, the Makefile installed under a versioned directory under
$(INSTALL_DIR). By installing directly undert $(INSTALL_DIR), the
version number can be removed from the path, making it more friendly to
debdiffs.
--- a/scripts/Makefile.bundles
+++ b/scripts/Makefile.bundles
@@ -36,7 +36,7 @@ $(BZIP_FILENAME): $(TAR_FILENAME)
# Installation process
install: $(INSTALL_DIR) $(DIR_NAME)
$(_E) "[INSTALL] to $(INSTALL_DIR)"
- $(_V)-cp -Rf $(DIR_NAME) $(INSTALL_DIR)
+ $(_V)-cp -Rf $(DIR_NAME)/. $(INSTALL_DIR)
ifdef INSTALLDIR
$(_E) [Warning] The use of 'INSTALLDIR' is deprecated and may be removed in the future.
$(_E) [Warning] Use 'INSTALL_DIR' instead.
|