Fix 'make headers' with out-of-tree builds

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@705 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2011-09-19 18:47:00 +00:00
parent 57a3736243
commit c6fa5ba028

View File

@@ -46,11 +46,10 @@ uninstall-local:
if [ -d $(DESTDIR)/$(prefix)/classes ]; then rmdir $(DESTDIR)/$(prefix)/classes; fi
headers: all
cd ${srcdir}; \
javah org.libjpegturbo.turbojpeg.TJ; \
javah org.libjpegturbo.turbojpeg.TJCompressor; \
javah org.libjpegturbo.turbojpeg.TJDecompressor; \
javah org.libjpegturbo.turbojpeg.TJTransformer
javah -d ${srcdir} org.libjpegturbo.turbojpeg.TJ; \
javah -d ${srcdir} org.libjpegturbo.turbojpeg.TJCompressor; \
javah -d ${srcdir} org.libjpegturbo.turbojpeg.TJDecompressor; \
javah -d ${srcdir} org.libjpegturbo.turbojpeg.TJTransformer
docs: all
cd ${srcdir}; \