-
Notifications
You must be signed in to change notification settings - Fork 57
/
Makefile
33 lines (30 loc) · 824 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
32
# Based on http://savetheions.com/2010/01/20/packaging-python-applicationsmodules-for-debian/
BINDIR = $(DESTDIR)/usr/bin
ETCDIR = $(DESTDIR)/etc/.le
clean:
rm -f *.py[co] */*.py[co]
install:
mkdir -p $(BINDIR) $(ETCDIR)
cp le $(BINDIR)/
ln -s le $(BINDIR)/le-init
ln -s le $(BINDIR)/le-reinit
ln -s le $(BINDIR)/le-register
ln -s le $(BINDIR)/le-monitor
ln -s le $(BINDIR)/le-follow
ln -s le $(BINDIR)/le-ls
ln -s le $(BINDIR)/le-rm
ln -s le $(BINDIR)/le-push
ln -s le $(BINDIR)/le-pull
cp ca-certs.pem $(ETCDIR)/
uninstall:
rm -f $(BINDIR)/le
rm -f $(BINDIR)/le-init
rm -f $(BINDIR)/le-reinit
rm -f $(BINDIR)/le-register
rm -f $(BINDIR)/le-monitor
rm -f $(BINDIR)/le-follow
rm -f $(BINDIR)/le-ls
rm -f $(BINDIR)/le-rm
rm -f $(BINDIR)/le-push
rm -f $(BINDIR)/le-pull
rm -f $(ETCDIR)/ca-certs.pem