Blob Blame History Raw
ACLOCAL_AMFLAGS = -I m4

pkgconfdir = $(libdir)/pkgconfig

pkgconf_DATA = librevenge-@RVNG_MAJOR_VERSION@.@RVNG_MINOR_VERSION@.pc

if BUILD_GENERATORS
pkgconf_DATA += librevenge-generators-@RVNG_MAJOR_VERSION@.@RVNG_MINOR_VERSION@.pc
endif

if BUILD_STREAMS
pkgconf_DATA += librevenge-stream-@RVNG_MAJOR_VERSION@.@RVNG_MINOR_VERSION@.pc
endif

SUBDIRS = build inc src data docs

EXTRA_DIST = \
	autogen.sh \
	librevenge.pc.in \
	librevenge-generators.pc.in \
	librevenge-stream.pc.in \
	AUTHORS \
	COPYING.LGPL \
	COPYING.MPL \
	HACKING \
	INSTALL \
	NEWS \
	README

distclean-local:
	rm -rf *.cache *~ *.pc

dist-hook:
	git log --date=short --pretty="format:@%cd  %an  <%ae>  [%H]%n%n%s%n%n%e%b" | sed -e "s|^\([^@]\)|\t\1|" -e "s|^@||" >$(distdir)/ChangeLog

astyle:
	astyle --options=astyle.options \*.h \*.cpp