[stgt] [PATCH] Makefile: Add missing $(DESTDIR) in install_doc
Florian Haas
florian.haas at linbit.com
Tue Jul 7 17:39:23 CEST 2009
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 at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list