|
|
dbb139 |
BINDIR = /usr/bin
|
|
|
dbb139 |
DESTDIR = ..overridden in spec file..
|
|
|
dbb139 |
|
|
|
dbb139 |
all: install
|
|
|
dbb139 |
|
|
|
dbb139 |
install: install-xsl install-img install-extensions install-misc install-epub
|
|
|
dbb139 |
|
|
|
dbb139 |
install-xsl:
|
|
|
dbb139 |
mkdir -p $(DESTDIR)/{common,eclipse,fo,html,htmlhelp/doc,javahelp,lib,template,xhtml,xhtml-1_1,manpages,profiling,highlighting,roundtrip,website}
|
|
|
dbb139 |
cp common/*.dtd $(DESTDIR)/common
|
|
|
dbb139 |
cp common/*.ent $(DESTDIR)/common
|
|
|
dbb139 |
cp common/*.xml $(DESTDIR)/common
|
|
|
dbb139 |
cp common/*.xsl $(DESTDIR)/common
|
|
|
dbb139 |
cp eclipse/*.xsl $(DESTDIR)/eclipse
|
|
|
dbb139 |
cp fo/*.xml $(DESTDIR)/fo
|
|
|
dbb139 |
cp fo/*.xsl $(DESTDIR)/fo
|
|
|
dbb139 |
cp html/*.xml $(DESTDIR)/html
|
|
|
dbb139 |
cp html/*.xsl $(DESTDIR)/html
|
|
|
dbb139 |
cp htmlhelp/*.xsl $(DESTDIR)/htmlhelp
|
|
|
dbb139 |
cp javahelp/*.xsl $(DESTDIR)/javahelp
|
|
|
dbb139 |
cp lib/*.xsl $(DESTDIR)/lib
|
|
|
dbb139 |
cp template/*.xsl $(DESTDIR)/template
|
|
|
dbb139 |
cp xhtml/*.xsl $(DESTDIR)/xhtml
|
|
|
dbb139 |
cp xhtml-1_1/*.xsl $(DESTDIR)/xhtml-1_1
|
|
|
dbb139 |
cp manpages/*.xsl $(DESTDIR)/manpages
|
|
|
dbb139 |
cp profiling/*.xsl $(DESTDIR)/profiling
|
|
|
dbb139 |
cp highlighting/*.xml $(DESTDIR)/highlighting
|
|
|
dbb139 |
cp highlighting/*.xsl $(DESTDIR)/highlighting
|
|
|
dbb139 |
cp roundtrip/*.xml $(DESTDIR)/roundtrip
|
|
|
dbb139 |
cp roundtrip/*.xsl $(DESTDIR)/roundtrip
|
|
|
dbb139 |
cp roundtrip/*.dtd $(DESTDIR)/roundtrip
|
|
|
dbb139 |
cp website/*.xsl $(DESTDIR)/website
|
|
|
dbb139 |
|
|
|
dbb139 |
install-img:
|
|
|
dbb139 |
mkdir -p $(DESTDIR)/images/callouts
|
|
|
dbb139 |
cp images/*.gif $(DESTDIR)/images
|
|
|
dbb139 |
cp images/*.png $(DESTDIR)/images
|
|
|
dbb139 |
cp images/*.svg $(DESTDIR)/images
|
|
|
dbb139 |
cp images/callouts/*.png $(DESTDIR)/images/callouts
|
|
|
dbb139 |
cp images/callouts/*.gif $(DESTDIR)/images/callouts
|
|
|
dbb139 |
cp images/callouts/*.svg $(DESTDIR)/images/callouts
|
|
|
dbb139 |
|
|
|
dbb139 |
install-extensions:
|
|
|
dbb139 |
mkdir -p $(DESTDIR)/extensions
|
|
|
dbb139 |
cp -r extensions/* $(DESTDIR)/extensions
|
|
|
dbb139 |
|
|
|
dbb139 |
install-epub:
|
|
|
dbb139 |
mkdir -p $(DESTDIR)/epub
|
|
|
dbb139 |
cp -r epub/* ${DESTDIR}/epub
|
|
|
dbb139 |
|
|
|
dbb139 |
install-misc:
|
|
|
dbb139 |
cp VERSION $(DESTDIR)
|