1 BINDIR = /usr/bin 2 DESTDIR = ..overridden in spec file.. 3 4 all: install 5 6 install: install-xsl install-img install-extensions install-misc 7 8 install-xsl: 9 mkdir -p $(DESTDIR)/common 10 mkdir -p $(DESTDIR)/fo 11 mkdir -p $(DESTDIR)/html 12 mkdir -p $(DESTDIR)/htmlhelp/doc 13 mkdir -p $(DESTDIR)/javahelp 14 mkdir -p $(DESTDIR)/lib 15 mkdir -p $(DESTDIR)/template 16 mkdir -p $(DESTDIR)/xhtml 17 mkdir -p $(DESTDIR)/manpages 18 mkdir -p $(DESTDIR)/profiling 19 cp common/*.dtd $(DESTDIR)/common 20 cp common/*.xml $(DESTDIR)/common 21 cp common/*.xsl $(DESTDIR)/common 22 cp fo/*.xml $(DESTDIR)/fo 23 cp fo/*.xsl $(DESTDIR)/fo 24 cp html/*.xml $(DESTDIR)/html 25 cp html/*.xsl $(DESTDIR)/html 26 cp htmlhelp/*.xsl $(DESTDIR)/htmlhelp 27 cp javahelp/*.xsl $(DESTDIR)/javahelp 28 cp lib/lib.xsl $(DESTDIR)/lib 29 cp template/README $(DESTDIR)/template 30 cp template/*.xml $(DESTDIR)/template 31 cp template/*.xsl $(DESTDIR)/template 32 cp xhtml/*.xsl $(DESTDIR)/xhtml 33 cp manpages/README $(DESTDIR)/manpages 34 cp manpages/*.xsl $(DESTDIR)/manpages 35 cp profiling/*.xsl $(DESTDIR)/profiling 36 37 install-img: 38 mkdir -p $(DESTDIR)/images/callouts 39 cp images/*.gif $(DESTDIR)/images 40 cp images/*.png $(DESTDIR)/images 41 cp images/callouts/*.png $(DESTDIR)/images/callouts 42 43 install-extensions: 44 mkdir -p $(DESTDIR)/extensions 45 cp -r extensions/* $(DESTDIR)/extensions 46 47 install-misc: 48 cp VERSION $(DESTDIR) 49