forked from media-explorer/media-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
34 lines (25 loc) · 829 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
SUBDIRS = build mex applets shell plugins tools
if ENABLE_TESTS
SUBDIRS += tests
endif
if ENABLE_EXTERNAL_PLAYER
SUBDIRS += player
endif
SUBDIRS += thumbnailer
SUBDIRS += data doc po
ACLOCAL_AMFLAGS = -I build ${ACLOCAL_FLAGS}
DISTCLEANFILES = aclocal.m4 config.h.in gtk-doc.make
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-tests
stats:
@total=`find . -name "*.[ch]" | xargs wc -l | tail -n 1 | \
tr -d [:space:][:alpha:]` && \
real=`sloccount mex/ examples/ | grep -e "^ansic:" | \
awk '{print $$2}'` && \
echo "Lines of code: $$total ($$real real)"
release: distcheck
git tag $(VERSION) -a -m "$(VERSION)"
$(MAKE) dist
@echo "**************************"
@echo "Tag & tarball created: $(VERSION)"
@echo "**************************"
include $(top_srcdir)/build/Makefile.am.release