[sawfish] don't hardcode /usr in manpage installation path



commit 7f96d6ca67a896735dba3bc258f792cef482bfc7
Author: Christopher Roy Bratusek <chris nanolx org>
Date:   Mon Dec 7 18:10:42 2009 +0100

    don't hardcode /usr in manpage installation path

 ChangeLog       |    3 +++
 man/Makefile.in |    6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c122a02..aa6f82c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2009-12-06  Christopher Bratusek <zanghar freenet de>
+	* man/Makefile.in: don't hardcode /usr in manpage installation path
+
 2009-12-05  Christopher Bratusek <zanghar freenet de>
 	* lisp/sawfish/wm/commands/x-cycle.jl: make cycle-class don't ignore window-order [Daniel M. German]
 
diff --git a/man/Makefile.in b/man/Makefile.in
index 8e45d31..302209a 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -52,16 +52,16 @@ install : sawfish.info installdirs
 	-install-info --info-dir=$(DESTDIR)$(infodir) sawfish.info
 	for f in sawfish*.1; do \
 		gzip $$f -c > $$f.gz; \
-		$(INSTALL_DATA) $$f.gz $(DESTDIR)/usr/share/man/man1/; \
+		$(INSTALL_DATA) $$f.gz $(DESTDIR)$(prefix)/share/man/man1/; \
 	done
 
 installdirs : mkinstalldirs
 	$(SHELL) $< $(DESTDIR)$(infodir)
-	$(SHELL) $< $(DESTDIR)/usr/share/man/man1/
+	$(SHELL) $< $(DESTDIR)$(prefix)/share/man/man1/
 
 uninstall :
 	rm -f $(DESTDIR)$(infodir)/sawfish.info*
-	rm -f $(DESTDIR)/usr/share/man/man1/sawfish*
+	rm -f $(DESTDIR)$(prefix)/share/man/man1/sawfish*
 	-install-info --remove --info-dir=$(DESTDIR)$(infodir) sawfish.info
 
 clean :



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