4 doc_dir = $(prefix)/share/doc/openjpeg-$(MAJOR).$(MINOR)
5 man_dir = $(prefix)/share/man
7 ifeq ($(HAS_DOXYGEN),yes)
20 install -d $(man_dir)/man1 $(man_dir)/man3
21 ifeq ($(WITH_JPWL),yes)
22 (cd $(man_dir)/man1 && rm -f JPWL_image_to_j2k* JPWL_j2k_to_image* )
23 (cd $(man_dir)/man3 && rm -f JPWL_libopenjpeg* )
25 (cd $(man_dir)/man1 && rm -f image_to_j2k* j2k_to_image* j2k_dump* )
26 (cd $(man_dir)/man3 && rm -f libopenjpeg* )
27 gzip -f image_to_j2k.1 j2k_to_image.1 j2k_dump.1 libopenjpeg.3
28 cp -f image_to_j2k.1.gz j2k_to_image.1.gz j2k_dump.1.gz $(man_dir)/man1
29 cp -f libopenjpeg.3.gz $(man_dir)/man3
31 ifeq ($(WITH_JPWL),yes)
32 (cd $(man_dir)/man1 && \
33 ln -sf image_to_j2k.1.gz JPWL_image_to_j2k.1.gz && \
34 ln -sf j2k_to_image.1.gz JPWL_j2k_to_image.1.gz)
35 (cd $(man_dir)/man3 && ln -sf libopenjpeg.3.gz JPWL_libopenjpeg.3.gz)
37 cp ../LICENSE ../CHANGES $(doc_dir)
41 ifeq ($(WITH_JPWL),yes)
42 (cd $(man_dir)/man1 && rm -f JPWL_image_to_j2k* JPWL_j2k_to_image* )
43 (cd $(man_dir)/man3 && rm -f JPWL_libopenjpeg* )
45 (cd $(man_dir)/man1 && rm -f image_to_j2k* j2k_to_image* j2k_dump* )
46 (cd $(man_dir)/man3 && rm -f libopenjpeg* )