[1.5] Fix autotools installation. Thanks to winfried for patch.
Update issue 149
This commit is contained in:
parent
6da56bb11a
commit
8a279881d4
|
@ -1,7 +1,7 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
includedir=@includedir@/openjpeg-@MAJOR_NR@.@MINOR_NR@
|
||||
|
||||
Name: openjpeg
|
||||
Description: JPEG2000 Wireless (Part 11 - JPWL) library
|
||||
|
|
|
@ -73,10 +73,7 @@ EXTRA_DIST = \
|
|||
CMakeLists.txt
|
||||
|
||||
install-data-hook:
|
||||
cd $(DESTDIR)$(includedir) && \
|
||||
rm -f openjpeg.h && \
|
||||
$(LN_S) openjpeg-$(MAJOR_NR).$(MINOR_NR)/openjpeg.h \
|
||||
openjpeg.h
|
||||
cd $(DESTDIR)$(includedir) && rm -f openjpeg.h
|
||||
@rm -rf $(top_builddir)/report.txt
|
||||
@echo -e " (LA)\t$(libdir)/libopenjpeg.la" >> $(top_builddir)/report.txt
|
||||
if BUILD_SHARED
|
||||
|
@ -86,7 +83,6 @@ if BUILD_STATIC
|
|||
@echo -e " (A)\t$(base)/$(a)" >> $(top_builddir)/report.txt
|
||||
endif
|
||||
@echo -e " (H)\t$(includedir)/openjpeg-$(MAJOR_NR).$(MINOR_NR)/openjpeg.h" >> $(top_builddir)/report.txt
|
||||
@echo -e " (LN)\t$(includedir)/openjpeg.h" >> $(top_builddir)/report.txt
|
||||
|
||||
uninstall-hook:
|
||||
rm -f $(DESTDIR)$(includedir)/openjpeg.h
|
||||
|
|
Loading…
Reference in New Issue