diff options
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | apps/man/mutool.1 (renamed from apps/man/mubusy.1) | 12 | ||||
-rw-r--r-- | apps/mutool.c (renamed from apps/mubusy.c) | 4 | ||||
-rw-r--r-- | apps/pdfclean.c (renamed from apps/mupdfclean.c) | 2 | ||||
-rw-r--r-- | apps/pdfextract.c (renamed from apps/mupdfextract.c) | 2 | ||||
-rw-r--r-- | apps/pdfinfo.c (renamed from apps/mupdfinfo.c) | 2 | ||||
-rw-r--r-- | apps/pdfposter.c (renamed from apps/mupdfposter.c) | 2 | ||||
-rw-r--r-- | apps/pdfshow.c (renamed from apps/mupdfshow.c) | 2 | ||||
-rw-r--r-- | win32/mupdf.sln | 2 | ||||
-rw-r--r-- | win32/mutool.vcproj (renamed from win32/mubusy.vcproj) | 14 |
10 files changed, 26 insertions, 26 deletions
@@ -164,8 +164,8 @@ $(OUT)/cmapdump.o : pdf/pdf_cmap.c pdf/pdf_cmap_parse.c MUDRAW := $(addprefix $(OUT)/, mudraw) $(MUDRAW) : $(FITZ_LIB) $(THIRD_LIBS) -MUBUSY := $(addprefix $(OUT)/, mubusy) -$(MUBUSY) : $(addprefix $(OUT)/, mupdfclean.o mupdfextract.o mupdfinfo.o mupdfposter.o mupdfshow.o) $(FITZ_LIB) $(THIRD_LIBS) +MUTOOL := $(addprefix $(OUT)/, mutool) +$(MUTOOL) : $(addprefix $(OUT)/, pdfclean.o pdfextract.o pdfinfo.o pdfposter.o pdfshow.o) $(FITZ_LIB) $(THIRD_LIBS) ifeq "$(NOX11)" "" MUVIEW := $(OUT)/mupdf @@ -208,18 +208,18 @@ libdir ?= $(prefix)/lib incdir ?= $(prefix)/include mandir ?= $(prefix)/share/man -install: $(FITZ_LIB) $(MUVIEW) $(MUDRAW) $(MUBUSY) +install: $(FITZ_LIB) $(MUVIEW) $(MUDRAW) $(MUTOOL) install -d $(bindir) $(libdir) $(incdir) $(mandir)/man1 install $(FITZ_LIB) $(libdir) install fitz/memento.h fitz/fitz.h pdf/mupdf.h xps/muxps.h cbz/mucbz.h $(incdir) - install $(MUVIEW) $(MUDRAW) $(MUBUSY) $(bindir) + install $(MUVIEW) $(MUDRAW) $(MUTOOL) $(bindir) install $(wildcard apps/man/*.1) $(mandir)/man1 # --- Clean and Default --- all: all-nojs $(JSTARGETS) -all-nojs: $(THIRD_LIBS) $(FITZ_LIB) $(MUVIEW) $(MUDRAW) $(MUBUSY) +all-nojs: $(THIRD_LIBS) $(FITZ_LIB) $(MUVIEW) $(MUDRAW) $(MUTOOL) third: $(THIRD_LIBS) diff --git a/apps/man/mubusy.1 b/apps/man/mutool.1 index 435dba4d..a2b7d42c 100644 --- a/apps/man/mubusy.1 +++ b/apps/man/mutool.1 @@ -1,18 +1,18 @@ -.TH "MUBUSY" "1" "May 10, 2012" +.TH "MUTOOL" "1" "Oct 02, 2012" .\" Please adjust this date whenever revising the manpage. .\" no hyphenation .nh .\" adjust left .ad l .SH NAME -mubusy \- all purpose tool for dealing with PDF files +mutool \- all purpose tool for dealing with PDF files .SH SYNOPSIS -mubusy <sub-command> [options] +mutool <sub-command> [options] .SH DESCRIPTION -mubusy is a tool based on MuPDF for dealing with PDF files in various manners. +mutool is a tool based on MuPDF for dealing with PDF files in various manners. There are several sub commands available, as described below. .SH CLEAN -mubusy clean [options] input.pdf [output.pdf] [pages] +mutool clean [options] input.pdf [output.pdf] [pages] .PP The clean command pretty prints and rewrites the syntax of a PDF file. It can be used to repair broken files, expand compressed streams, filter @@ -42,7 +42,7 @@ TODO .SH POSTER TODO .SH SHOW -mubusy show [options] file.pdf [object numbers ...] +mutool show [options] file.pdf [object numbers ...] .PP The show command will print the specified objects and streams to stdout. Streams are decoded and non-printable characters are represented diff --git a/apps/mubusy.c b/apps/mutool.c index e11d488c..2eb0d7c5 100644 --- a/apps/mubusy.c +++ b/apps/mutool.c @@ -1,5 +1,5 @@ /* - * mubusy -- swiss army knife of pdf manipulation tools + * mutool -- swiss army knife of pdf manipulation tools */ #include <stdio.h> @@ -74,7 +74,7 @@ int main(int argc, char **argv) /* Print usage */ - fprintf(stderr, "usage: mubusy <command> [options]\n"); + fprintf(stderr, "usage: mutool <command> [options]\n"); for (i = 0; i < nelem(tools); i++) fprintf(stderr, "\t%s\t-- %s\n", tools[i].name, tools[i].desc); diff --git a/apps/mupdfclean.c b/apps/pdfclean.c index fdf9b412..409d4fbb 100644 --- a/apps/mupdfclean.c +++ b/apps/pdfclean.c @@ -18,7 +18,7 @@ static fz_context *ctx = NULL; static void usage(void) { fprintf(stderr, - "usage: mubusy clean [options] input.pdf [output.pdf] [pages]\n" + "usage: mutool clean [options] input.pdf [output.pdf] [pages]\n" "\t-p -\tpassword\n" "\t-g\tgarbage collect unused objects\n" "\t-gg\tin addition to -g compact xref table\n" diff --git a/apps/mupdfextract.c b/apps/pdfextract.c index 95f27be9..7d49f997 100644 --- a/apps/mupdfextract.c +++ b/apps/pdfextract.c @@ -11,7 +11,7 @@ static int dorgb = 0; static void usage(void) { - fprintf(stderr, "usage: mubusy extract [options] file.pdf [object numbers]\n"); + fprintf(stderr, "usage: mutool extract [options] file.pdf [object numbers]\n"); fprintf(stderr, "\t-p\tpassword\n"); fprintf(stderr, "\t-r\tconvert images to rgb\n"); exit(1); diff --git a/apps/mupdfinfo.c b/apps/pdfinfo.c index 6c0a31d7..3fab99c7 100644 --- a/apps/mupdfinfo.c +++ b/apps/pdfinfo.c @@ -154,7 +154,7 @@ static void infousage(void) { fprintf(stderr, - "usage: mubusy info [options] [file.pdf ... ]\n" + "usage: mutool info [options] [file.pdf ... ]\n" "\t-d -\tpassword for decryption\n" "\t-f\tlist fonts\n" "\t-i\tlist images\n" diff --git a/apps/mupdfposter.c b/apps/pdfposter.c index f65495a8..2ef44dbb 100644 --- a/apps/mupdfposter.c +++ b/apps/pdfposter.c @@ -18,7 +18,7 @@ static int y_factor = 0; static void usage(void) { fprintf(stderr, - "usage: mubusy poster [options] input.pdf [output.pdf]\n" + "usage: mutool poster [options] input.pdf [output.pdf]\n" "\t-p -\tpassword\n" "\t-x\tx decimation factor\n" "\t-y\ty decimation factor\n"); diff --git a/apps/mupdfshow.c b/apps/pdfshow.c index f534a5c7..655493f9 100644 --- a/apps/mupdfshow.c +++ b/apps/pdfshow.c @@ -12,7 +12,7 @@ static int showcolumn; static void usage(void) { - fprintf(stderr, "usage: mubusy show [options] file.pdf [grepable] [xref] [trailer] [pagetree] [object numbers]\n"); + fprintf(stderr, "usage: mutool show [options] file.pdf [grepable] [xref] [trailer] [pagetree] [object numbers]\n"); fprintf(stderr, "\t-b\tprint streams as binary data\n"); fprintf(stderr, "\t-e\tprint encoded streams (don't decode)\n"); fprintf(stderr, "\t-p\tpassword\n"); diff --git a/win32/mupdf.sln b/win32/mupdf.sln index 6807711f..bd145d31 100644 --- a/win32/mupdf.sln +++ b/win32/mupdf.sln @@ -21,7 +21,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mudraw", "mudraw.vcproj", " {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C} = {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C} EndProjectSection EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mubusy", "mubusy.vcproj", "{00811970-815B-4F64-BC9D-219078B1F3AA}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mutool", "mutool.vcproj", "{00811970-815B-4F64-BC9D-219078B1F3AA}" ProjectSection(ProjectDependencies) = postProject {5F615F91-DFF8-4F05-BF48-6222B7D86519} = {5F615F91-DFF8-4F05-BF48-6222B7D86519} {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C} = {5EDCF4FD-0291-4FB9-8D96-D58957CA5E3C} diff --git a/win32/mubusy.vcproj b/win32/mutool.vcproj index c905681e..bc478b8e 100644 --- a/win32/mubusy.vcproj +++ b/win32/mutool.vcproj @@ -2,7 +2,7 @@ <VisualStudioProject ProjectType="Visual C++" Version="8.00" - Name="mubusy" + Name="mutool" ProjectGUID="{00811970-815B-4F64-BC9D-219078B1F3AA}" RootNamespace="mupdf" > @@ -237,27 +237,27 @@ </References> <Files> <File - RelativePath="..\apps\mubusy.c" + RelativePath="..\apps\mutool.c" > </File> <File - RelativePath="..\apps\mupdfclean.c" + RelativePath="..\apps\pdfclean.c" > </File> <File - RelativePath="..\apps\mupdfextract.c" + RelativePath="..\apps\pdfextract.c" > </File> <File - RelativePath="..\apps\mupdfinfo.c" + RelativePath="..\apps\pdfinfo.c" > </File> <File - RelativePath="..\apps\mupdfposter.c" + RelativePath="..\apps\pdfposter.c" > </File> <File - RelativePath="..\apps\mupdfshow.c" + RelativePath="..\apps\pdfshow.c" > </File> </Files> |