-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile.am
63 lines (51 loc) · 1.6 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
bin_SCRIPTS = rpmfusion-packager-setup \
rpmfusion-cert \
$(NULL)
dist_bin_SCRIPTS = bin/rfabipkgdiff \
$(NULL)
CLEANFILES = $(bin_SCRIPTS) \
Makefile.in \
aclocal.m4 \
configure \
install-sh \
missing \
config.status \
config.log \
py-compile \
Makefile \
rpmfusion-packager*.tar.bz2 \
rpmfusion-packager.spec \
src/rpmfusion-packager-setup.py \
src/rpmfusion-cert.py
EXTRA_DIST = rpmfusion-packager.spec \
src/rpmfusion-packager-setup.py \
src/rpmfusion-cert.py \
$(NULL)
rpmfusion-packager-setup: $(srcdir)/src/rpmfusion-packager-setup.py
rm -f rpmfusion-packager-setup
install -p -m 755 -T $(srcdir)/src/rpmfusion-packager-setup.py rpmfusion-packager-setup
rpmfusion-cert: $(srcdir)/src/rpmfusion-cert.py
rm -f rpmfusion-cert
install -p -m 755 -T $(srcdir)/src/rpmfusion-cert.py rpmfusion-cert
#
# Link koji-rpmfusion to koji on install
#
install-exec-hook:
rm -f $(DESTDIR)$(bindir)/koji-rpmfusion
$(LN_S) koji $(DESTDIR)$(bindir)/koji-rpmfusion
rpmfusion_cert_PYTHON = $(wildcard $(srcdir)/src/rpmfusion_cert/*.py)
rpmfusion_certdir = $(pythondir)/rpmfusion_cert
EXTRA_DIST += configs/rpmfusion.conf \
configs/koji-rpmfusion
kojiconf_DATA = $(srcdir)/configs/rpmfusion.conf
kojiconfdir = $(sysconfdir)/koji.conf.d/
kojibash_DATA = $(srcdir)/configs/koji-rpmfusion
kojibashdir = $(datadir)/bash-completion/completions/
maintainer-clean-local:
rm -f configure install-sh missing
rm -f rpmfusion-packager*.tar.bz2
rm -f autom4te.cache/
rpm: dist-bzip2
@(rpmbuild -ta rpmfusion-packager-$(PACKAGE_VERSION).tar.bz2)
srpm: dist-bzip2
@(rpmbuild -ts rpmfusion-packager-$(PACKAGE_VERSION).tar.bz2)