summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-28 17:15:06 +0100
committermathieui <mathieui@mathieui.net>2011-11-28 17:15:06 +0100
commit178ab2d9902cf399203defdfd8632e9b983507fc (patch)
tree56b10a7d9da1ed75edd2e5cc20d9dbc5cc58c27f /Makefile
parent2f8f4eccb8fe9bc8b34f47c80c9e963866f21628 (diff)
downloadpoezio-178ab2d9902cf399203defdfd8632e9b983507fc.tar.gz
poezio-178ab2d9902cf399203defdfd8632e9b983507fc.tar.bz2
poezio-178ab2d9902cf399203defdfd8632e9b983507fc.tar.xz
poezio-178ab2d9902cf399203defdfd8632e9b983507fc.zip
Add the doc to the installed files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0dcfd755..343e52c6 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@ prefix=/usr/local
LIBDIR=$(prefix)/lib
BINDIR=$(prefix)/bin
DATADIR=$(prefix)/share
+DOCDIR=$(DATADIR)/doc
LOCALEDIR=$(DATADIR)/locale
MANDIR=$(DATADIR)/man
@@ -16,11 +17,14 @@ clean:
install: all
mkdir -p $(DESTDIR)$(prefix)
- install -d $(DESTDIR)$(LOCALEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(DATADIR)/poezio $(DESTDIR)$(DATADIR)/poezio/data $(DESTDIR)$(DATADIR)/poezio/src/ $(DESTDIR)$(DATADIR)/poezio/src $(DESTDIR)$(DATADIR)/poezio/data/themes $(DESTDIR)$(MANDIR)/man1
+ install -d $(DESTDIR)$(LOCALEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(DATADIR)/poezio $(DESTDIR)$(DATADIR)/poezio/data $(DESTDIR)$(DATADIR)/poezio/src/ $(DESTDIR)$(DATADIR)/poezio/src $(DESTDIR)$(DATADIR)/poezio/data/themes $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(DOCDIR)/poezio
cp -R data/* $(DESTDIR)$(DATADIR)/poezio/data/
rm $(DESTDIR)$(DATADIR)/poezio/data/poezio.1
+ cp -R doc/* $(DESTDIR)$(DOCDIR)/poezio/
+ cp README CHANGELOG COPYING $(DESTDIR)$(DOCDIR)/poezio/
+
install -m644 data/poezio.1 $(DESTDIR)$(MANDIR)/man1/
for sourcefile in `ls -1 src/*.py src/*.so` ; do \
install -m644 $$sourcefile $(DESTDIR)$(DATADIR)/poezio/src; \