Makefile.am 744 Bytes
Newer Older
1 2 3

AUTOMAKE_OPTIONS = foreign

4
DIST_SUBDIRS = intl pcre lib src po doc modules tests
5 6

if LOADABLE_MODULES
7
SUBDIRS = intl pcre lib src po doc modules tests
8
else
9
SUBDIRS = intl pcre lib src po doc tests
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
endif

EXTRA_DIST = CREDITS README README.pcre bootstrap.sh shtool

deb:
	if test -f ../mp4h_$(VERSION).orig.tar.gz; then \
          :; \
        else \
          $(MAKE) dist && mv mp4h-$(VERSION).tar.gz ../mp4h_$(VERSION).orig.tar.gz; \
        fi
	-rm -rf config.log autom4te.cache
	$(MAKE) distclean && dpkg-buildpackage -i'/CVS|/\.cvsignore|/\.scvsrc|/tags' -rfakeroot

README: configure.ac src/readme.tmpl
	@x='@'; sed -e "s/$${x}PACKAGE_VERSION$${x}/@PACKAGE_VERSION@/" -e "s/$${x}PACKAGE_DATE$${x}/@PACKAGE_DATE@/" src/readme.tmpl > $@