From 73ca8ddca00ff5eb14aa13dbf07bc1bd8d5a1b43 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 28 Nov 2011 17:15:06 +0100 Subject: Add the doc to the installed files --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') 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; \ -- cgit v1.2.3