9dfec118ce712c56a9f2b2bda2ddc34d5d3defbf
[platform/upstream/libexif.git] / Makefile.am
1 SUBDIRS = libexif libjpeg test po
2
3 CONFIG_CLEAN_FILES =
4 EXTRA_DIST = @PACKAGE@.spec
5
6
7 ########################################################################
8 # create .tar.bz2 distribution package for convenience if the
9 # $(TAR) on this system supports it. else do nothing.
10 dist-hook:
11         if [ "x${CDPATH}" != "x" ]; then \
12                 echo "You have set CDPATH. If make dist fails, try to unset CDPATH."; \
13         fi
14         -$(MAKE) dist-bzip2
15
16 dist-bzip2:
17         -chmod -R a+r $(distdir)
18         -$(TAR) chojf $(distdir).tar.bz2 $(distdir)