diff options
| author | Winfried <szukw000@arcor.de> | 2010-10-17 22:42:46 +0000 |
|---|---|---|
| committer | Winfried <szukw000@arcor.de> | 2010-10-17 22:42:46 +0000 |
| commit | f4b08bacb03457eae440ed88f70ac1598f2cee42 (patch) | |
| tree | fcda8e7487cd5979586be05cdccad12af59af62b /doc/Makefile.am | |
| parent | ae6cf3da7dd5e5e1061b9da2c693674399e79874 (diff) | |
-This line, and those below, will be ignored--
M configure
M Makefile.in
M opj_config.h.in.user
M mj2/Makefile.in
M mj2/Makefile.am
M mj2/Makefile.nix
M libopenjpeg/Makefile.in
M jp3d/Makefile.in
M jp3d/libjp3dvm/Makefile.in
M jp3d/Makefile.nix
M jp3d/codec/Makefile.in
M jp3d/codec/Makefile.am
M config.nix
M configure.ac
M doc/Makefile.in
M doc/Makefile.am
M doc/Makefile.nix
M INSTALL
M CHANGES
M jpwl/Makefile.in
M jpwl/Makefile.am
M jpwl/Makefile.nix
M Makefile.am
M Makefile.nix
M codec/Makefile.in
M codec/Makefile.am
Diffstat (limited to 'doc/Makefile.am')
| -rw-r--r-- | doc/Makefile.am | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 91e92204..cdd2dd73 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -2,9 +2,38 @@ MAJOR = @MAJOR_NR@ MINOR = @MINOR_NR@ BUILD = @BUILD_NR@ -docdir = $(datarootdir)/doc/openjpeg-$(MAJOR).$(MINOR) - -dist_doc_DATA = ../license.txt ../ChangeLog - +if with_doxygen docs: doxygen Doxyfile.dox +endif + +doc_dir = $(datarootdir)/doc/openjpeg-$(MAJOR).$(MINOR) + +all-local: + @echo "" > .report.txt + @echo "Installing: image_to_j2k.1 ${mandir}/man1" >> .report.txt + @echo "Installing: j2k_to_image.1 ${mandir}/man1" >> .report.txt + @echo "Installing: j2k_dump.1 ${mandir}/man1" >> .report.txt + @echo "Installing: libopenjpeg.3 ${mandir}/man3" >> .report.txt + @echo "Installing: LICENSE CHANGES $(doc_dir)" >> .report.txt + +install-data-hook: + $(INSTALL) -d $(doc_dir) + $(INSTALL) -d ${mandir}/man1 ${mandir}/man3 +if with_libjpwl + (cd ${mandir}/man1 && $(RM) JPWL_image_to_j2k* JPWL_j2k_to_image*) + (cd ${mandir}/man3 && $(RM) JPWL_libopenjpeg* ) +endif + (cd ${mandir}/man1 && $(RM) image_to_j2k* j2k_to_image* j2k_dump* ) + (cd ${mandir}/man3 && $(RM) libopenjpeg* ) + gzip -f image_to_j2k.1 j2k_to_image.1 j2k_dump.1 libopenjpeg.3 + cp image_to_j2k.1.gz j2k_to_image.1.gz j2k_dump.1.gz ${mandir}/man1 + cp libopenjpeg.3.gz ${mandir}/man3 + gunzip *\.gz +if with_libjpwl + (cd ${mandir}/man1 && \ + $(LN_S) image_to_j2k.1.gz JPWL_image_to_j2k.1.gz && \ + $(LN_S) j2k_to_image.1.gz JPWL_j2k_to_image.1.gz) + (cd ${mandir}/man3 && $(LN_S) libopenjpeg.3.gz JPWL_libopenjpeg.3.gz) +endif + cp ../LICENSE ../CHANGES $(doc_dir) |
