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