diff options
author | Tor Andersson <tor@ghostscript.com> | 2011-03-09 15:59:08 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2011-03-09 15:59:08 +0000 |
commit | 0f5f8c4db58b8d9a3972790606d0c7dc5fb2c62a (patch) | |
tree | 4eea980a277ef8ec5c1ffcf534e6797ee2bdb9c4 | |
parent | 269adfe6d110f4e74e031a59c6d5c477288df351 (diff) | |
download | mupdf-0f5f8c4db58b8d9a3972790606d0c7dc5fb2c62a.tar.xz |
Move manpages out from debian into apps/man, and install them when running make install.
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | apps/man/mupdf.1 (renamed from debian/mupdf.1) | 0 | ||||
-rw-r--r-- | apps/man/pdfclean.1 (renamed from debian/pdfclean.1) | 0 | ||||
-rw-r--r-- | apps/man/pdfdraw.1 (renamed from debian/pdfdraw.1) | 0 | ||||
-rw-r--r-- | apps/man/pdfshow.1 (renamed from debian/pdfshow.1) | 0 |
5 files changed, 9 insertions, 1 deletions
@@ -304,6 +304,12 @@ $(MUPDF_LIB): $(FITZ_OBJ) $(DRAW_OBJ) $(MUPDF_OBJ) $(CMAP_OBJ) $(FONT_OBJ) APPS = $(PDFSHOW_EXE) $(PDFCLEAN_EXE) $(PDFDRAW_EXE) $(PDFEXTRACT_EXE) $(PDFINFO_EXE) $(PDFVIEW_EXE) +APPS_MAN = \ + apps/man/mupdf.1 \ + apps/man/pdfclean.1 \ + apps/man/pdfdraw.1 \ + apps/man/pdfshow.1 + $(OBJDIR)/%.o: apps/%.c $(CC_CMD) @@ -381,9 +387,11 @@ nuke: BINDIR ?= $(prefix)/bin LIBDIR ?= $(prefix)/lib INCDIR ?= $(prefix)/include +MANDIR ?= $(prefix)/share/man/man1 install: $(OBJDIR) $(GENDIR) $(MUPDF_LIB) $(APPS) - install -d $(BINDIR) $(LIBDIR) $(INCDIR) + install -d $(BINDIR) $(LIBDIR) $(INCDIR) $(MANDIR) install $(APPS) $(BINDIR) + install $(APPS_MAN) $(MANDIR) install $(MUPDF_LIB) $(LIBDIR) install $(MUPDF_HDR) $(INCDIR) diff --git a/debian/mupdf.1 b/apps/man/mupdf.1 index a4162a6f..a4162a6f 100644 --- a/debian/mupdf.1 +++ b/apps/man/mupdf.1 diff --git a/debian/pdfclean.1 b/apps/man/pdfclean.1 index aec6f0f3..aec6f0f3 100644 --- a/debian/pdfclean.1 +++ b/apps/man/pdfclean.1 diff --git a/debian/pdfdraw.1 b/apps/man/pdfdraw.1 index 67899640..67899640 100644 --- a/debian/pdfdraw.1 +++ b/apps/man/pdfdraw.1 diff --git a/debian/pdfshow.1 b/apps/man/pdfshow.1 index 7574f297..7574f297 100644 --- a/debian/pdfshow.1 +++ b/apps/man/pdfshow.1 |