1ACLOCAL_AMFLAGS = -I m4
2
3pkgconfdir = $(libdir)/pkgconfig
4
5pkgconf_DATA = libstaroffice-@STAROFFICE_MAJOR_VERSION@.@STAROFFICE_MINOR_VERSION@.pc
6
7SUBDIRS = inc src build docs
8
9EXTRA_DIST = \
10	autogen.sh \
11	libstaroffice.pc.in \
12	libstaroffice-zip.in \
13	COPYING.LGPL \
14	COPYING.MPL \
15	CREDITS \
16	HACKING \
17	INSTALL \
18	NEWS \
19	README
20
21distclean-local:
22	rm -rf *.cache *~ *.pc
23
24zip: install
25	sh libstaroffice-zip
26
27dist-hook:
28	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
29
30astyle:
31	astyle -HU -A3 -k3 -y -n -s2 -r \*.cpp \*.h \*.?xx
32