Skip to content

Instantly share code, notes, and snippets.

@limingjie
Created June 2, 2015 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save limingjie/36a7507ca2dbf101d5ac to your computer and use it in GitHub Desktop.
Save limingjie/36a7507ca2dbf101d5ac to your computer and use it in GitHub Desktop.
Build MuPDF on Archlinux
$ uname -a
Linux ArchLinux_MJ 4.0.4-2-ARCH #1 SMP PREEMPT Fri May 22 03:05:23 UTC 2015 x86_64 GNU/Linux
$ pwd
/home/mingjie/Programming/mupdf-1.7a-source
$ sudo make build=release
...
$ sudo make build=release install                                                                                                                        2 ↵
    CC build/release/pdf/pdf-cmap-table.o
    RM build/release/libmupdf.a
    AR build/release/libmupdf.a
    LINK build/release/mudraw
    LINK build/release/mutool
    LINK build/release/mupdf-x11
    LINK build/release/mujstest
    LINK build/release/mupdf-x11-curl
install -d /usr/local/include/mupdf
install -d /usr/local/include/mupdf/fitz
install -d /usr/local/include/mupdf/pdf
install include/mupdf/*.h /usr/local/include/mupdf
install include/mupdf/fitz/*.h /usr/local/include/mupdf/fitz
install include/mupdf/pdf/*.h /usr/local/include/mupdf/pdf
install -d /usr/local/lib
install build/release/libmupdf.a /usr/local/lib
install -d /usr/local/bin
install build/release/mudraw build/release/mutool build/release/mupdf-x11  build/release/mujstest build/release/mupdf-x11-curl  /usr/local/bin
install -d /usr/local/share/man/man1
install docs/man/*.1 /usr/local/share/man/man1
install -d /usr/local/share/doc/mupdf
install README COPYING CHANGES docs/*.txt /usr/local/share/doc/mupdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment