-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
139 lines (110 loc) · 3.39 KB
/
Makefile.am
File metadata and controls
139 lines (110 loc) · 3.39 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
@SET_MAKE@
COFLAGS=-z+05:30
ACLOCAL_AMFLAGS=-I m4
DEFS=@DEFS@ -Wall -Dlint -fno-strict-aliasing -I/usr/include/qmail -I.
INSTALL_PROGRAM = ${INSTALL} -c
install_sh_PROGRAM = $(install_sh) -c
INSTALL_SCRIPT = ${INSTALL} -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
mpdevbindir=@prefix@/bin
mpdevsbindir=@prefix@/sbin
mpdevlibexecdir=@libexecdir@/mpdev
mpdevsysconfdir=@sysconfdir@/mpdev
mpdevbin_PROGRAMS = mpdev
mpdevbin_SCRIPTS = librefm-scrobbler lastfm-scrobbler mpdplaylist \
transfer_play karma songi mpdhist
mpdevlibexec_PROGRAMS = mpdev_cleanup mpdev_update
mpdevlibexec_SCRIPTS = player playpause mpdev_rename output mixer create_service \
lcd_display
noinst_DATA = mpdev.spec PKGBUILD
man_MANS = mpdplaylist.1 mpdev.1 lastfm-scrobbler.1 librefm-scrobbler.1 \
mpdev_update.1 mpdev_cleanup.1 transfer_play.1 \
mpdev_rename.1 karma.1 songi.1 mpdhist.1
mpdevsysconf_DATA=mpdev-release mpd_local.te
doc_DATA=LICENSE moc-scrobbler-license mpdev.changes README.md
MOSTLYCLEANFILES = mpdev player playpause librefm-scrobbler \
lastfm-scrobbler mpdplaylist choose \
create_service karma output mixer \
songi mpdhist lcd_display
mpdev_SOURCES = mpdev.c
mpdev_LDADD = $(LIB_QMAIL)
mpdev_update_SOURCES = mpdev_update.c
mpdev_update_LDADD = $(LIB_QMAIL) $(LIB_SQLITE3)
mpdev_cleanup_SOURCES = mpdev_cleanup.c replacestr.c
mpdev_cleanup_LDADD = $(LIB_QMAIL) $(LIB_SQLITE3)
edit = sed \
-e 's}@PACKAGE\@}$(PACKAGE)}g' \
-e 's}@PACKAGE_VERSION\@}$(PACKAGE_VERSION)}g' \
-e 's}@version\@}$(VERSION)}g' \
-e "s|@release\@|"`cat conf-release`"|g" \
-e 's|@email\@|'"`cat conf-email`"'|g' \
-e 's}@pkgconfigdir\@}$(pkgconfigdir)}g' \
-e 's}@VERSION\@}$(VERSION)}g' \
-e 's}@sysconfdir\@}$(sysconfdir)}g' \
-e 's}@libexecdir\@}$(libexecdir)}g' \
-e 's}@mpdevlibexecdir\@}$(mpdevlibexecdir)}g' \
-e 's}@prefix\@}$(prefix)}g'
editlastfm = sed \
-e 's}@name\@}lastfm}g' \
-e 's}@url\@}"last.fm"}g'
editlibrefm = sed \
-e 's}@name\@}librefm}g' \
-e 's}@url\@}"libre.fm"}g'
choose: choose.sh warn-auto.sh
/bin/rm -f choose
cat warn-auto.sh choose.sh > choose
chmod 555 choose
librefm-scrobbler: moc-scrobbler.in
$(editlibrefm) moc-scrobbler.in > $@
chmod +x $@
lastfm-scrobbler: moc-scrobbler.in
$(editlastfm) moc-scrobbler.in > $@
chmod +x $@
mpdplaylist: mpdplaylist.in
$(edit) $@.in > $@
chmod +x $@
karma: karma.in
$(edit) $@.in > $@
chmod +x $@
songi: songi.in
$(edit) $@.in > $@
chmod +x $@
mpdhist: mpdhist.in
$(edit) $@.in > $@
chmod +x $@
create_service: create_service.in
$(edit) $@.in > $@
chmod +x $@
mpdev_rename: mpdev_rename.in
$(edit) $@.in > $@
chmod +x $@
create_stats: create_stats.in
$(edit) $@.in > $@
chmod +x $@
player: player.in
$(edit) $@.in > $@
chmod +x $@
playpause: playpause.in
$(edit) $@.in > $@
chmod +x $@
transfer_play: transfer_play.in
$(edit) $@.in > $@
chmod +x $@
output: output.in
$(edit) $@.in > $@
chmod +x $@
mixer: mixer.in
$(edit) $@.in > $@
chmod +x $@
lcd_display: lcd_display.in
$(edit) $@.in > $@
chmod +x $@
mpdev.spec: mpdev.spec.in catChangeLog doc/ChangeLog conf-version \
conf-release conf-email
(cat $@.in;./catChangeLog) | $(edit) > $@
mpdev.changes: doc/ChangeLog conf-version conf-release conf-email
./catChangeLog --changes doc/ChangeLog > $@
PKGBUILD: PKGBUILD.in conf-email \
conf-version conf-release mpdev.changes
cat $@.in | $(edit) > $@