[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Install herbstluftwm-tutorial(7) manpage
- To: herbstluftwm _minus_ devel _at_ lists _dot_ sourceforge _dot_ net
- Subject: [PATCH] Install herbstluftwm-tutorial(7) manpage
- From: Florian Bruhin <me _at_ the _minus_ compiler _dot_ org>
- Date: Mon, 5 Nov 2012 08:27:02 +0100
I recently wanted to take a look at herbstluftwm-tutorial(7) and
noticed it doesn't get installed by the current Makefile, so I thought
I'd write yet another patch :P
Flo
--
() ascii ribbon campaign - stop html mail www.asciiribbon.org
/\ www.the-compiler.org | I love long mails http://email.is-not-s.ms/
Who is D.B. Cooper, and where is he now?
>From 2ac63b4a6c5695b571b01bd1d6acae786b736380 Mon Sep 17 00:00:00 2001
From: Florian Bruhin <git _at_ the _minus_ compiler _dot_ org>
Date: Mon, 5 Nov 2012 08:24:16 +0100
Subject: [PATCH] Install herbstluftwm-tutorial(7) manpage.
---
Makefile | 5 ++++-
config.mk | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index bd3be6c..dd23bbd 100644
--- a/Makefile
+++ b/Makefile
@@ -94,7 +94,8 @@ install: all
@echo "==> creating dirs..."
$(MKDIR) '$(DESTDIR)/$(LICENSEDIR)'
$(MKDIR) '$(DESTDIR)/$(BINDIR)'
- $(MKDIR) '$(DESTDIR)/$(MANDIR)/man1'
+ $(MKDIR) '$(DESTDIR)/$(MAN1DIR)'
+ $(MKDIR) '$(DESTDIR)/$(MAN7DIR)'
$(MKDIR) '$(DESTDIR)/$(DOCDIR)'
$(MKDIR) '$(DESTDIR)/$(EXAMPLESDIR)'
$(MKDIR) '$(DESTDIR)/$(BASHCOMPLETIONDIR)'
@@ -106,8 +107,10 @@ install: all
$(INSTALL) -m 644 LICENSE '$(DESTDIR)/$(LICENSEDIR)'
$(INSTALL) -m 644 doc/herbstclient.1 '$(DESTDIR)/$(MAN1DIR)/'
$(INSTALL) -m 644 doc/herbstluftwm.1 '$(DESTDIR)/$(MAN1DIR)/'
+ $(INSTALL) -m 644 doc/herbstluftwm-tutorial.7 '$(DESTDIR)/$(MAN7DIR)/'
$(INSTALL) -m 644 doc/herbstclient.html '$(DESTDIR)/$(DOCDIR)/'
$(INSTALL) -m 644 doc/herbstluftwm.html '$(DESTDIR)/$(DOCDIR)/'
+ $(INSTALL) -m 644 doc/herbstluftwm-tutorial.html '$(DESTDIR)/$(DOCDIR)/'
$(INSTALL) -m 644 BUGS '$(DESTDIR)/$(DOCDIR)/'
$(INSTALL) -m 644 NEWS '$(DESTDIR)/$(DOCDIR)/'
$(INSTALL) -m 644 README '$(DESTDIR)/$(DOCDIR)/'
diff --git a/config.mk b/config.mk
index 2b18e15..8391a6c 100644
--- a/config.mk
+++ b/config.mk
@@ -33,6 +33,7 @@ BINDIR = $(PREFIX)/bin
DATADIR = $(PREFIX)/share
MANDIR = $(DATADIR)/man
MAN1DIR = $(MANDIR)/man1
+MAN7DIR = $(MANDIR)/man7
DOCDIR = $(DATADIR)/doc/herbstluftwm
EXAMPLESDIR = $(DOCDIR)/examples
LICENSEDIR = $(DOCDIR)
--
1.8.0