[PATCH] Makefile: Add missing $(DESTDIR) in install_doc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Be sure to prefix $(DESTDIR) to $(docdir) so as not to break package builds.
Found this out while attempting to build an RPM package from 0.9.7.
---
 usr/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/usr/Makefile b/usr/Makefile
index d76ea67..8aa73ce 100644
--- a/usr/Makefile
+++ b/usr/Makefile
@@ -104,7 +104,7 @@ install_doc: $(MANPAGES) $(DOCS)
 	install -d -m 755 $(DESTDIR)$(mandir)/man8
 	install -m 644 $(MANPAGES) $(DESTDIR)$(mandir)/man8
 	install -d -m 755 $(DESTDIR)$(docdir)
-	install -m 644 $(DOCS) $(docdir)
+	install -m 644 $(DOCS) $(DESTDIR)$(docdir)
 
 .PHONY: clean
 clean:
-- 
1.6.0.4

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux