1 #========================================================================
5 # Copyright 1996-2003 Glyph & Cog, LLC
7 #========================================================================
14 exec_prefix = ${prefix}
17 INSTALL
= /Development
/bin
/install -c
18 INSTALL_PROGRAM
= ${INSTALL}
19 INSTALL_DATA
= ${INSTALL} -m
644
27 cd xpdf
; $(MAKE
) all-no-x
32 cd xpdf
; $(MAKE
) all-no-x
38 cd xpdf
; $(MAKE
) xpdf
$(EXE
)
44 cd xpdf
; $(MAKE
) pdftops
$(EXE
)
50 cd xpdf
; $(MAKE
) pdftotext
$(EXE
)
56 cd xpdf
; $(MAKE
) pdfinfo
$(EXE
)
62 cd xpdf
; $(MAKE
) pdffonts
$(EXE
)
68 cd xpdf
; $(MAKE
) pdftoppm
$(EXE
)
74 cd xpdf
; $(MAKE
) pdfimages
$(EXE
)
79 -mkdir
-p
$(DESTDIR
)${exec_prefix}/bin
80 # $(INSTALL_PROGRAM) xpdf/xpdf$(EXE) $(DESTDIR)${exec_prefix}/bin/xpdf$(EXE)
81 $(INSTALL_PROGRAM
) xpdf
/pdftops
$(EXE
) $(DESTDIR
)${exec_prefix}/bin
/pdftops
$(EXE
)
82 $(INSTALL_PROGRAM
) xpdf
/pdftotext
$(EXE
) $(DESTDIR
)${exec_prefix}/bin
/pdftotext
$(EXE
)
83 $(INSTALL_PROGRAM
) xpdf
/pdfinfo
$(EXE
) $(DESTDIR
)${exec_prefix}/bin
/pdfinfo
$(EXE
)
84 $(INSTALL_PROGRAM
) xpdf
/pdffonts
$(EXE
) $(DESTDIR
)${exec_prefix}/bin
/pdffonts
$(EXE
)
85 # $(INSTALL_PROGRAM) xpdf/pdftoppm$(EXE) $(DESTDIR)${exec_prefix}/bin/pdftoppm$(EXE)
86 $(INSTALL_PROGRAM
) xpdf
/pdfimages
$(EXE
) $(DESTDIR
)${exec_prefix}/bin
/pdfimages
$(EXE
)
87 -mkdir
-p
$(DESTDIR
)${prefix}/man
/man1
88 # $(INSTALL_DATA) $(srcdir)/doc/xpdf.1 $(DESTDIR)${prefix}/man/man1/xpdf.1
89 $(INSTALL_DATA
) $(srcdir)/doc
/pdftops
.1 $(DESTDIR
)${prefix}/man
/man1
/pdftops
.1
90 $(INSTALL_DATA
) $(srcdir)/doc
/pdftotext
.1 $(DESTDIR
)${prefix}/man
/man1
/pdftotext
.1
91 $(INSTALL_DATA
) $(srcdir)/doc
/pdfinfo
.1 $(DESTDIR
)${prefix}/man
/man1
/pdfinfo
.1
92 $(INSTALL_DATA
) $(srcdir)/doc
/pdffonts
.1 $(DESTDIR
)${prefix}/man
/man1
/pdffonts
.1
93 # $(INSTALL_DATA) $(srcdir)/doc/pdftoppm.1 $(DESTDIR)${prefix}/man/man1/pdftoppm.1
94 $(INSTALL_DATA
) $(srcdir)/doc
/pdfimages
.1 $(DESTDIR
)${prefix}/man
/man1
/pdfimages
.1
95 -mkdir
-p
$(DESTDIR
)${prefix}/man
/man5
96 $(INSTALL_DATA
) $(srcdir)/doc
/xpdfrc
.5 $(DESTDIR
)${prefix}/man
/man5
/xpdfrc
.5
97 -mkdir
-p
$(DESTDIR
)${prefix}/etc
98 @if
test ! -f
$(DESTDIR
)${prefix}/etc
/xpdfrc
; then \
99 echo
"$(INSTALL_DATA) $(srcdir)/doc/sample-xpdfrc $(DESTDIR)${prefix}/etc/xpdfrc"; \
100 $(INSTALL_DATA
) $(srcdir)/doc
/sample-xpdfrc
$(DESTDIR
)${prefix}/etc
/xpdfrc
; \
102 echo
"# not overwriting the existing $(DESTDIR)${prefix}/etc/xpdfrc"; \
106 -cd goo
; $(MAKE
) clean
107 -cd fofi
; $(MAKE
) clean
108 -cd splash
; $(MAKE
) clean
109 -cd xpdf
; $(MAKE
) clean
112 rm -f config.log config.status config.cache
114 rm -f Makefile goo
/Makefile xpdf
/Makefile
115 rm -f goo
/Makefile.dep fofi
/Makefile.dep splash
/Makefile.dep xpdf
/Makefile.dep
116 rm -f goo
/Makefile.in.bak fofi
/Makefile.in.bak splash
/Makefile.in.bak xpdf
/Makefile.in.bak
117 touch goo
/Makefile.dep
118 touch fofi
/Makefile.dep
119 touch splash
/Makefile.dep
120 touch xpdf
/Makefile.dep
123 cd goo
; $(MAKE
) depend
124 cd fofi
; $(MAKE
) depend
125 cd splash
; $(MAKE
) depend
126 cd xpdf
; $(MAKE
) depend