diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2005-09-17 23:57:48 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2005-09-17 23:57:48 +0000 |
commit | 8e965d1593d220b945d0dca601d4cfd848f79c83 (patch) | |
tree | 8287d7b4842c830d526655f1896e7bd9c260ce99 /Makefile.in | |
parent | 2d3a503aa8651215e7bb939b995c33356bbce913 (diff) | |
download | quilt-8e965d1593d220b945d0dca601d4cfd848f79c83.tar.gz |
- Only add compat/ directory to PATH if it exists. Only create it
when necessary.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 8 |
1 files changed, 1 insertions, 7 deletions
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 |