silc-toolkit/silc-1.0.2-fixdestdir.patch

48 lines
1.7 KiB
Diff

diff -Nru silc-toolkit-1.0.2.orig/apps/irssi/docs/Makefile.in silc-toolkit-1.0.2/apps/irssi/docs/Makefile.in
--- silc-toolkit-1.0.2.orig/apps/irssi/docs/Makefile.in 2006-01-01 19:06:18.000000000 +0100
+++ silc-toolkit-1.0.2/apps/irssi/docs/Makefile.in 2006-01-01 19:06:55.000000000 +0100
@@ -98,7 +98,7 @@
*) f=$$p;; \
esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
-am__installdirs = "$(DESTDIR)$(docdir)"
+am__installdirs = "$(docdir)"
docDATA_INSTALL = $(INSTALL_DATA)
DATA = $(doc_DATA)
ETAGS = etags
@@ -313,20 +313,20 @@
uninstall-info-am:
install-docDATA: $(doc_DATA)
@$(NORMAL_INSTALL)
- test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
+ test -z "$(docdir)" || $(mkdir_p) "$(docdir)"
@list='$(doc_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(am__strip_dir) \
- echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
- $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
+ echo " $(docDATA_INSTALL) '$$d$$p' '$(docdir)/$$f'"; \
+ $(docDATA_INSTALL) "$$d$$p" "$(docdir)/$$f"; \
done
uninstall-docDATA:
@$(NORMAL_UNINSTALL)
@list='$(doc_DATA)'; for p in $$list; do \
f=$(am__strip_dir) \
- echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
- rm -f "$(DESTDIR)$(docdir)/$$f"; \
+ echo " rm -f '$(docdir)/$$f'"; \
+ rm -f "$(docdir)/$$f"; \
done
# This directory's subdirectories are mostly independent; you can cd
@@ -509,7 +509,7 @@
all-am: Makefile $(DATA)
installdirs: installdirs-recursive
installdirs-am:
- for dir in "$(DESTDIR)$(docdir)"; do \
+ for dir in "$(docdir)"; do \
test -z "$$dir" || $(mkdir_p) "$$dir"; \
done
install: install-recursive