0885fd4c2c403c111398d71a0cb4b90dbaf35775
[platform/upstream/libexif.git] / Makefile.am
1 SUBDIRS = libexif libjpeg test po intl
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)