forked from res0nat0r/edna
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
32 lines (25 loc) · 757 Bytes
/
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
#
# Makefile to install edna
#
PREFIX=/usr/local
LIBDIR=$(DESTDIR)$(PREFIX)/lib/edna
BINDIR=$(DESTDIR)$(PREFIX)/bin
INITDIR=$(DESTDIR)/etc/init.d
CONFDIR=$(DESTDIR)/etc/edna
all:
@echo "Please adjust values in edna.conf and use"
@echo "make install"
@echo "or make install-daemon"
install:
install -d $(BINDIR) $(LIBDIR) $(CONFDIR)/templates $(LIBDIR)/resources
install edna.py $(BINDIR)/edna
install ezt.py $(LIBDIR)
install MP3Info.py $(LIBDIR)
-install -m644 templates/* $(CONFDIR)/templates
-install -m644 resources/* $(LIBDIR)/resources
install-daemon: install
install -d $(CONFDIR) $(INITDIR)
if [ ! -e $(CONFDIR)/edna.conf ] ; then install edna.conf $(CONFDIR) ; fi
install daemon/edna $(INITDIR)/edna
clean:
rm -f *~ *.pyc