From 8e965d1593d220b945d0dca601d4cfd848f79c83 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Sat, 17 Sep 2005 23:57:48 +0000 Subject: - Only add compat/ directory to PATH if it exists. Only create it when necessary. --- Makefile.in | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 7e1d136..63bfdef 100644 --- a/Makefile.in +++ b/Makefile.in @@ -50,12 +50,6 @@ $(foreach symlink, $(COMPAT_SYMLINKS), $(eval $(call COMPAT_SYMLINK_install, $(s install-compat-symlinks: $(COMPAT_SYMLINKS:%=install-compat-symlink-%) -define COMPAT_SYMLINK_redefine -$(shell echo $(1) | $(AWK) '{print toupper($$0)}') := $(1) -endef - -$(foreach symlink, $(COMPAT_SYMLINKS), $(eval $(call COMPAT_SYMLINK_redefine, $(symlink)))) - ifeq "$(MSGFMT)" "" MAKE_NLS := @true else @@ -299,9 +293,9 @@ install-main: scripts @INSTALL@ -m 644 quilt.quiltrc $(BUILD_ROOT)$(etcdir)/ install-compat: + @rm -rf $(BUILD_ROOT)$(COMPAT_DIR) ifneq ($(COMPAT_PROGRAMS)$(COMPAT_FUNCTIONS)$(COMPAT_SYMLINKS),) @INSTALL@ -d $(BUILD_ROOT)$(COMPAT_DIR) - @rm -f $(BUILD_ROOT)$(COMPAT_DIR)/* ifneq ($(COMPAT_PROGRAMS),) @INSTALL@ -m 755 $(COMPAT_PROGRAMS:%=compat/%) $(BUILD_ROOT)$(COMPAT_DIR) endif -- cgit