-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
75 lines (62 loc) · 1.89 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
composed_bin_scripts = \
scripts/audx-lib.sh \
scripts/audx-str-lib.sh \
scripts/audx-play.sh \
scripts/audx-print-tags.sh \
scripts/batch-shufflelist.sh \
scripts/check-vfat-names.sh \
scripts/create-compare-tests.sh \
scripts/flac-add-tracktotal.sh \
scripts/flac-clean-tags.sh \
scripts/flac-fixup-cddb.sh \
scripts/flac-meta-rename.sh \
scripts/flac-print-tags.sh \
scripts/flac-tag-switcher.sh \
scripts/flac-write-tag.sh \
scripts/genre-sort.sh \
scripts/m4a-converter.sh \
scripts/m4a-print-tags.sh \
scripts/make-age-list.sh \
scripts/make-inventory.sh \
scripts/make-playlists.sh \
scripts/make-shufflelist.sh \
scripts/rip-c.sh \
scripts/rip-c-flac-tags.sh \
scripts/rip-c-to-flac.sh \
scripts/shuffle-playlist.sh
bin_SCRIPTS = $(composed_bin_scripts)
nobase_bin_SCRIPTS =
edit = sed \
-e 's|@PACKAGE\@|$(PACKAGE)|g' \
-e 's|@PACKAGE_BUGREPORT\@|$(PACKAGE_BUGREPORT)|g' \
-e 's|@PACKAGE_NAME\@|$(PACKAGE_NAME)|g' \
-e 's|@PACKAGE_URL\@|$(PACKAGE_URL)|g' \
-e 's|@PACKAGE_VERSION\@|$(PACKAGE_VERSION)|g' \
-e 's|@datadir\@|$(pkgdatadir)|g' \
-e 's|@libexecdir\@|$(libexecdir)|g' \
-e 's|@prefix\@|$(prefix)|g'
$(composed_bin_scripts): % : Makefile $(srcdir)/%.in
rm -f $@ [email protected]
mkdir -p $$(dirname $@)
$(edit) $(srcdir)/[email protected] > [email protected]
chmod +x [email protected]
mv [email protected] $@
test_files = $(srcdir)/tests/*
EXTRA_DIST = bootstrap configure.ac COPYING m4 mit-plus-license.txt README.md \
version.sh $(addsuffix .in, $(composed_bin_scripts)) \
$(nobase_bin_SCRIPTS) $(test_files)
CLEANFILES = $(bin_SCRIPTS)
MAINTAINERCLEANFILES = aclocal.m4 compile config.h* configure depcomp \
install-sh Makefile.in missing $(PACKAGE)-*.gz
maintainer-clean-local:
rm -rf m4 .deps
.PHONY: help
help:
@echo "Targets:"
@echo " make install"
@echo " make dist"
@echo " make distcheck"
@echo " make distclean"
@echo " make maintainer-clean"