Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:xernea:pdftohtmlex
mingw32-openjpeg
0002-Install-jpwl-man-pages-only-if-jpwl-is-ena...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-Install-jpwl-man-pages-only-if-jpwl-is-enabled.patch of Package mingw32-openjpeg
From 9e663cf4e85819a2f4b237c721d365b683466ff1 Mon Sep 17 00:00:00 2001 From: Hib Eris <hib@hiberis.nl> Date: Wed, 22 Feb 2012 14:08:52 +0100 Subject: [PATCH 2/3] Install jpwl man pages only if jpwl is enabled --- doc/Makefile.am | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index d4b8056..1cbe672 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -45,6 +45,11 @@ dist_man3_MANS = \ man/man3/libopenjpeg.3 install-data-hook: + @echo -e " (MAN)\t$(man1dir)/image_to_j2k.1" >> $(top_builddir)/report.txt + @echo -e " (MAN)\t$(man1dir)/j2k_dump.1" >> $(top_builddir)/report.txt + @echo -e " (MAN)\t$(man1dir)/j2k_to_image.1" >> $(top_builddir)/report.txt + @echo -e " (MAN)\t$(man3dir)/libopenjpeg.3" >> $(top_builddir)/report.txt +if WANT_JPWL cd $(DESTDIR)$(man1dir) && \ rm -f jpwl_image_to_j2k.1 && \ $(LN_S) image_to_j2k.1 jpwl_image_to_j2k.1 @@ -54,18 +59,17 @@ install-data-hook: cd $(DESTDIR)$(man3dir) && \ rm -f jpwl_libopenjpeg.3 && \ $(LN_S) libopenjpeg.3 jpwl_libopenjpeg.3 - @echo -e " (MAN)\t$(man1dir)/image_to_j2k.1" >> $(top_builddir)/report.txt @echo -e " (LN)\t$(man1dir)/jpwl_image_to_j2k.1" >> $(top_builddir)/report.txt - @echo -e " (MAN)\t$(man1dir)/j2k_dump.1" >> $(top_builddir)/report.txt - @echo -e " (MAN)\t$(man1dir)/j2k_to_image.1" >> $(top_builddir)/report.txt @echo -e " (LN)\t$(man1dir)//jpwl_j2k_to_image.1" >> $(top_builddir)/report.txt - @echo -e " (MAN)\t$(man3dir)/libopenjpeg.3" >> $(top_builddir)/report.txt @echo -e " (LN)\t$(man3dir)/jpwl_libopenjpeg.3" >> $(top_builddir)/report.txt +endif uninstall-hook: +if WANT_JPWL rm -f $(DESTDIR)$(man1dir)/jpwl_image_to_j2k.1 rm -f $(DESTDIR)$(man1dir)/jpwl_j2k_to_image.1 rm -f $(DESTDIR)$(man3dir)/jpwl_libopenjpeg.3 +endif EXTRA_DIST = \ CMakeLists.txt \ -- 1.7.7
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor