summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-28 17:15:06 +0100
committerFlorent Le Coz <louiz@louiz.org>2012-01-26 10:05:32 +0100
commit73ca8ddca00ff5eb14aa13dbf07bc1bd8d5a1b43 (patch)
tree56b10a7d9da1ed75edd2e5cc20d9dbc5cc58c27f
parent3d879a6677f665b10fde3c252f32295dcff22c0f (diff)
downloadpoezio-73ca8ddca00ff5eb14aa13dbf07bc1bd8d5a1b43.tar.gz
poezio-73ca8ddca00ff5eb14aa13dbf07bc1bd8d5a1b43.tar.bz2
poezio-73ca8ddca00ff5eb14aa13dbf07bc1bd8d5a1b43.tar.xz
poezio-73ca8ddca00ff5eb14aa13dbf07bc1bd8d5a1b43.zip
Add the doc to the installed files
-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; \