-
Notifications
You must be signed in to change notification settings - Fork 34
/
Makefile.am
43 lines (32 loc) · 957 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
35
36
37
38
39
40
41
42
43
ACLOCAL_AMFLAGS = -I build-scripts
SUBDIRS = . libtwolame frontend simplefrontend doc tests
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = twolame.pc
INDENT = indent -npro -kr -nsob -fca -blf -ip1 -hnl -l100 -lc100 -nut -ts4 -v
indent:
find $(top_srcdir) -type f -name "*.[ch]" -print -exec $(INDENT) {} ';'
# Copy README.md to README and NEWS.md to NEWS when building distribution
all-local: README NEWS ChangeLog
README:
[ -f README.md ] && fgrep -v "Build Status]" $(top_srcdir)/README.md > $@ || true
NEWS:
[ -f NEWS.md ] && cat $(top_srcdir)/NEWS.md > $@ || true
ChangeLog:
[ -d .git ] && git log > ChangeLog || true
pkgdocdir = @docdir@
pkgdoc_DATA = \
AUTHORS \
COPYING \
README \
NEWS
EXTRA_DIST = \
$(pkgdoc_DATA) \
twolame.pc.in \
twolame.spec \
win32/configwin.h \
win32/libtwolame_dll.sln \
win32/libtwolame_dll.vcproj \
win32/libtwolame_static.sln \
win32/libtwolame_static.vcproj \
win32/winutil.h
test: check