upgpkg: ocaml 5.0.0-1
[arch-packages.git] / docbook-dsssl / trunk / docbook-style-dsssl.Makefile
blobaf1a1fb1ec0f1ff1c67e75cab1a1ca2e65fdb7f9
1 BINDIR = /usr/bin
2 DESTDIR = /usr/share/sgml/docbook/dsssl-stylesheets-1.74b
3 MANDIR= /usr/share/man
5 all: install
7 install: install-bin install-dtd install-dsl install-img install-misc install-man
9 install-bin:
10         mkdir -p $(BINDIR)
11         install -p bin/collateindex.pl $(BINDIR)
13 install-man:
14         mkdir -p $(MANDIR)/man1
15         install -m 644 -p bin/collateindex.pl.1 $(MANDIR)/man1
17 install-dtd:
18         mkdir -p $(DESTDIR)/dtds/{decls,dbdsssl,html,imagelib,olink}
19         cp -p dtds/decls/docbook.dcl $(DESTDIR)/dtds/decls
20         cp -p dtds/decls/xml.dcl $(DESTDIR)/dtds/decls
21         cp -p dtds/dbdsssl/dbdsssl.dtd $(DESTDIR)/dtds/dbdsssl
22         cp -p dtds/html/dbhtml.dtd $(DESTDIR)/dtds/html
23         cp -p dtds/html/ISOlat1.gml $(DESTDIR)/dtds/html
24         cp -p dtds/imagelib/imagelib.dtd $(DESTDIR)/dtds/imagelib
25         cp -p dtds/olink/olinksum.dtd $(DESTDIR)/dtds/olink
27 install-dsl:
28         mkdir -p $(DESTDIR)/{lib,common,html,print,olink}
29         cp -p lib/dblib.dsl $(DESTDIR)/lib
30         cp -p common/*.dsl $(DESTDIR)/common
31         cp -p common/*.ent $(DESTDIR)/common
32         cp -p html/*.dsl $(DESTDIR)/html
33         cp -p lib/dblib.dsl $(DESTDIR)/lib
34         cp -p print/*.dsl $(DESTDIR)/print
35         cp -p olink/*.dsl $(DESTDIR)/olink
37 install-img:
38         mkdir -p $(DESTDIR)/images/callouts
39         cp -p images/*.gif $(DESTDIR)/images
40         cp -p images/callouts/*.gif $(DESTDIR)/images/callouts
42 #install-test:
43 #       mkdir -p $(DESTDIR)/test/{cases,imagelib,xml}
44 #       cp test/*.* $(DESTDIR)/test
45 #       cp test/cases/*.* $(DESTDIR)/test/cases
46 #       cp test/imagelib/*.* $(DESTDIR)/test/imagelib
47 #       cp test/xml/*.* $(DESTDIR)/test/xml
49 install-misc:
50         cp -p catalog $(DESTDIR)
51         cp -p VERSION $(DESTDIR)