libvips/Makefile.am

48 lines
1.0 KiB
Makefile
Raw Normal View History

2007-08-29 18:23:50 +02:00
# only build in the python dir if we can
if HAVE_PYTHON
2009-08-16 17:00:08 +02:00
P_COMPILE_DIR = swig
2007-08-29 18:23:50 +02:00
P_DIST_DIR =
else
P_COMPILE_DIR =
2009-08-16 17:00:08 +02:00
P_DIST_DIR = swig
2007-08-29 18:23:50 +02:00
endif
SUBDIRS = \
2009-08-16 17:00:08 +02:00
libvips \
tools \
libvipsCC \
2007-08-31 15:01:42 +02:00
man \
2007-08-29 18:23:50 +02:00
po \
2009-08-16 17:00:08 +02:00
doc \
2007-08-29 18:23:50 +02:00
$(P_COMPILE_DIR)
EXTRA_DIST = \
2009-08-16 17:00:08 +02:00
m4 \
2007-08-29 18:23:50 +02:00
benchmark \
bootstrap.sh \
2007-08-29 19:27:28 +02:00
vipsCC-7.${IM_MINOR_VERSION}.pc.in \
vips-7.${IM_MINOR_VERSION}.pc.in \
vips-7.${IM_MINOR_VERSION}.spec.in \
2007-08-29 18:23:50 +02:00
acinclude.m4 \
depcomp \
$(P_DIST_DIR)
pkgconfigdir = $(libdir)/pkgconfig
2007-08-29 19:27:28 +02:00
pkgconfig_DATA = vips-7.${IM_MINOR_VERSION}.pc vipsCC-7.${IM_MINOR_VERSION}.pc
2007-08-29 18:23:50 +02:00
install-exec-hook:
-rm -rf ${DESTDIR}$(datadir)/doc/vips
$(mkinstalldirs) ${DESTDIR}$(datadir)/doc/vips
-cp -r ${top_srcdir}/doc/html ${top_srcdir}/doc/pdf ${DESTDIR}$(datadir)/doc/vips
dist-hook:
# make sure we don't get any .svn dirs from EXTRA_DIST
-find $(distdir) -name .svn -exec rm -rf {} \;
uninstall-hook:
# make sure we have write permission for 'rm'
-chmod -R u+w ${DESTDIR}$(datadir)/doc/vips
-rm -rf ${DESTDIR}$(datadir)/doc/vips
2009-08-16 17:00:08 +02:00
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc