File: Makefile.am

package info (click to toggle)
twolame 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,440 kB
  • sloc: ansic: 9,939; sh: 4,451; perl: 343; makefile: 183
file content (43 lines) | stat: -rw-r--r-- 957 bytes parent folder | download
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