forked from ElvishArtisan/rivendell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
136 lines (125 loc) · 3.47 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
## Makefile.am
##
## Top level automake.am for Rivendell
##
## (C) Copyright 2002-2022 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.
##
## Use automake to process this into a Makefile.in
if HPI_RD_AM
HPI_RD_OPT = rdhpi
endif
if ALSA_RD_AM
ALSACONFIG_RD_OPT = rdalsaconfig
endif
SUBDIRS = versions\
debian\
icons\
helpers\
LICENSES\
lib\
$(HPI_RD_OPT) apis\
scripts\
conf\
docs\
xdg\
cae\
importers\
ios\
rdadmin\
rdairplay\
rdcartslots\
rdcastmanager\
rdcatch\
rdcatchd\
rdlibrary\
rdlogedit\
rdlogin\
rdlogmanager\
rdmonitor\
rdpanel\
rdrepld\
rdpadd\
rdpadengined\
rdrssd\
rdselect\
rdservice\
rdvairplayd\
ripcd\
systemd\
tests\
utils\
web
ACLOCAL_AMFLAGS = -I m4
maintainer-clean-local:
rm -rf m4
deb: dist
./build_debs.sh
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/RPMS/noarch/rivendell-*.rpm $(top_srcdir)/
mv $(HOME)/rpmbuild/SRPMS/rivendell-*.src.rpm $(top_srcdir)/
rm $(HOME)/rpmbuild/SOURCES/rivendell-$(VERSION).tar.gz
zip: dist
tar -zxf rivendell-@[email protected]
zip -r rivendell-@[email protected] rivendell-@VERSION@
rm -rf rivendell-@VERSION@
EXTRA_DIST = autogen.sh\
CODINGSTYLE\
configure_build.sh\
get_distro.pl\
get_target.sh\
INSTALL-WINDOWS\
rivendell.ism\
rivendell.pro\
rivendell.spec.in\
UPGRADING
CLEANFILES = *~\
*.buildinfo\
*.changes\
*.ddeb\
*.deb\
*.dsc\
*.mo\
*.rpm\
*.tar.gz\
*.tar.xz\
*.tgz\
*.zip\
py-compile
DISTCLEANFILES = *.spec\
config.guess\
config.sub\
ltmain.sh\
rivendell
MAINTAINERCLEANFILES = *~\
*.tar.gz\
aclocal.m4\
Makefile.in\
compile\
config.guess\
config.status\
config.sub\
configure\
depcomp\
install-sh\
libtool\
ltmain.sh\
missing\
mkinstalldirs\
rivendell.spec