forked from ElvishArtisan/rivendell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
163 lines (147 loc) · 4.32 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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
## automake.am
##
## Top level automake.am for Rivendell
##
## Use automake to process this into a Makefile.in
##
## (C) Copyright 2002-2016 Fred Gleason <[email protected]>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License version 2 as
## published by the Free Software Foundation.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public
## License along with this program; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
##
if HPI_RD_AM
HPI_RD_OPT = rdhpi
endif
if ALSA_RD_AM
ALSACONFIG_RD_OPT = rdalsaconfig
endif
SUBDIRS = icons\
helpers\
lib\
$(HPI_RD_OPT) $(PAM_RD_OPT) rlm\
scripts\
conf\
debian\
docs\
xdg\
cae\
importers\
ios\
rdadmin\
rdairplay\
rdcartslots\
rdcastmanager\
rdcatch\
rdcatchd\
rdlibrary\
rdlogedit\
rdlogin\
rdlogmanager\
rdmonitor\
rdpanel\
rdrepld\
rdselect\
ripcd\
tests\
utils\
web
ACLOCAL_AMFLAGS = -I m4
maintainer-clean-local:
rm -rf m4
install-exec-local:
./install-init.sh $(DESTDIR)$(prefix) $(DESTDIR)
install-debian:
touch ./building-debian
make install
rm -f ./building-debian
uninstall-exec:
rm -f $(DESTDIR)/etc/init.d/rdrepld
rm -f $(DESTDIR)/etc/init.d/rivendell
rm -f $(DESTDIR)/etc/sysconfig/rivendell
rpm: dist
mkdir -p $(HOME)/rpmbuild/SOURCES
cp rivendell-$(VERSION).tar.gz $(HOME)/rpmbuild/SOURCES/
$(RPMBUILD) -ba --target $(ARCH)-$(VENDOR)-linux rivendell.spec
mv $(HOME)/rpmbuild/RPMS/$(ARCH)/rivendell-*.rpm $(top_srcdir)/
mv $(HOME)/rpmbuild/SRPMS/rivendell-*.src.rpm $(top_srcdir)/
rm $(HOME)/rpmbuild/SOURCES/rivendell-$(VERSION).tar.gz
slack: all
./make_slack
slax: all
rm -f rivendell-$(VERSION)-$(ARCH)-$(RPM_RELEASE).mo
./make_slack
tgz2mo rivendell-$(VERSION)-$(ARCH)-$(RPM_RELEASE).tgz rivendell-$(VERSION)-$(ARCH)-$(RPM_RELEASE).mo
zip: dist
tar -zxf rivendell-@[email protected]
zip -r rivendell-@[email protected] rivendell-@VERSION@
rm -rf rivendell-@VERSION@
doxygen:
cd lib && doxygen doxygen.conf
cd cae && doxygen doxygen.conf &
cd rdairplay && doxygen doxygen.conf &
cd rdadmin && doxygen doxygen.conf &
cd rdcatch && doxygen doxygen.conf &
cd rdcatchd && doxygen doxygen.conf &
cd rdlibrary && doxygen doxygen.conf &
cd rdlogedit && doxygen doxygen.conf &
cd rdlogin && doxygen doxygen.conf &
cd rdlogmanager && doxygen doxygen.conf &
cd ripcd && doxygen doxygen.conf &
EXTRA_DIST = autogen.sh\
build_win32.bat\
CODINGSTYLE\
get_distro.pl\
get_target.sh\
install-init.sh\
make_slack.in\
PACKAGE_VERSION\
rdrepld-suse.in\
rivendell-gentoo\
rivendell.ism\
rivendell.pro\
rivendell.spec.in\
rivendell-suse.in\
rivendell.sys\
slack-desc.in\
slack_doinst.sh\
UPGRADING
CLEANFILES = *~\
*.mo\
*.rpm\
*.tar.gz\
*.tgz\
*.zip
DISTCLEANFILES = config.guess\
config.sub\
ltmain.sh\
make_slack\
rdrepld-suse\
rivendell\
rivendell.spec\
slack-desc
MAINTAINERCLEANFILES = *~\
*.tar.gz\
aclocal.m4\
Makefile.in\
config.guess\
config.status\
config.sub\
configure\
depcomp\
install-sh\
libtool\
ltmain.sh\
missing\
mkinstalldirs\
rivendell.spec\
rivendell-suse