# only build in the python dir if we can if HAVE_PYTHON P_COMPILE_DIR = python P_DIST_DIR = else P_COMPILE_DIR = P_DIST_DIR = python endif SUBDIRS = \ libsrc \ src \ include \ libsrcCC \ contrib \ po \ $(P_COMPILE_DIR) EXTRA_DIST = \ doc \ benchmark \ bootstrap.sh \ win32 \ vipsCC-7.14.pc.in \ vips-7.14.pc.in \ vips-7.14.spec.in \ acinclude.m4 \ depcomp \ intltool-extract.in \ intltool-merge.in \ intltool-update.in \ $(P_DIST_DIR) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = vips-7.14.pc vipsCC-7.14.pc 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 distclean-local: # need to remove expanded intltool files in build area to pass distcheck -rm ${top_builddir}/intltool-extract \ ${top_builddir}/intltool-merge \ ${top_builddir}/intltool-update