forked from audacious-media-player/audacious
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
57 lines (52 loc) · 1.46 KB
/
Makefile
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
SUBDIRS = src man images po
DISTCLEAN = audacious.pc buildsys.mk config.h config.log config.status extra.mk
DATA = AUTHORS \
COPYING \
images/about-logo.png \
images/album.png \
images/appearance.png \
images/audio.png \
images/connectivity.png \
images/info.png \
images/playlist.png \
images/plugins.png
include buildsys.mk
install-extra:
for i in audacious.pc; do \
${INSTALL_STATUS}; \
if ${MKDIR_P} ${DESTDIR}${pkgconfigdir} && ${INSTALL} -m 644 $$i ${DESTDIR}${pkgconfigdir}/$$i; then \
${INSTALL_OK}; \
else \
${INSTALL_FAILED}; \
fi; \
done
for i in audacious.desktop; do \
${INSTALL_STATUS}; \
if ${MKDIR_P} ${DESTDIR}${datarootdir}/applications && ${INSTALL} -m 644 $$i ${DESTDIR}${datarootdir}/applications/$$i; then \
${INSTALL_OK}; \
else \
${INSTALL_FAILED}; \
fi \
done
if [ -f ${DESTDIR}${datadir}/audacious/Skins/Default/balance.png ]; then \
rm -f ${DESTDIR}${datadir}/audacious/Skins/Default/balance.png; \
fi
uninstall-extra:
for i in audacious.pc; do \
if [ -f ${DESTDIR}${pkgconfigdir}/$$i ]; then \
if rm -f ${DESTDIR}${pkgconfigdir}/$$i; then \
${DELETE_OK}; \
else \
${DELETE_FAILED}; \
fi \
fi; \
done
for i in audacious.desktop; do \
if test -f ${DESTDIR}${datarootdir}/applications/$$i; then \
if rm -f ${DESTDIR}${datarootdir}/applications/$$i; then \
${DELETE_OK}; \
else \
${DELETE_FAILED}; \
fi \
fi \
done