-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
30 lines (25 loc) · 1012 Bytes
/
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
bin_PROGRAMS = acoffin
acoffin_SOURCES = recorder.c gui.c main.c
acoffin_CFLAGS = ${GTK_CFLAGS} -DDATA_PATH='"@datarootdir@/audio-coffin/"'
acoffin_LDADD = ${LIBM} ${LIBRT} ${LIBSOXR} ${LIBSNDFILE} ${LIBJACK} ${GTK_LIBS}
# Also clean up after autoconf
distclean-local:
-rm -rf autom4te.cache
-rm -rf build-aux
-rm aclocal.m4
-rm configure
-rm *.in
# Do nothing
test:
# Install images
install-data-local:
install -d -m 755 ${DESTDIR}@datarootdir@/audio-coffin
install -d -m 755 ${DESTDIR}@datarootdir@/pixmaps
install -d -m 755 ${DESTDIR}@datarootdir@/applications
install -c -m 644 @srcdir@/images/* ${DESTDIR}@datarootdir@/audio-coffin/
install -c -m 644 @srcdir@/images/dracula.png ${DESTDIR}@datarootdir@/pixmaps/audio-coffin.png
install -c -m 644 @srcdir@/audio-coffin.desktop ${DESTDIR}@datarootdir@/applications/
uninstall-local:
rm -rf ${DESTDIR}@datarootdir@/audio-coffin
rm ${DESTDIR}@datarootdir@/pixmaps/audio-coffin.png
rm ${DESTDIR}@datarootdir@/applications/audio-coffin.desktop