aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: a73d4d8634355e8c5c72893b6817ba9ab5a8128c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include

if DOC_ONLY
  SUBDIRS = . doc
else
  SUBDIRS = . src doc
endif

@DX_RULES@

ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
  AUTHORS \
  contrib/coverage.sh \
  Doxyfile

app:
	mkdir -p $(PACKAGE)-$(VERSION)-app
	tar cf - configure.ac AUTHORS README doc/*.1 doc/*.5 doc/Makefile.am Makefile.am `find src/ -name "*.c" -o -name "*.h" -o -name Makefile.am` | (cd $(PACKAGE)-$(VERSION)-app ; tar xf -)
	tar cf $(PACKAGE)-$(VERSION)-app.tgz $(PACKAGE)-$(VERSION)-app
	rm -rf $(PACKAGE)-$(VERSION)-app