Last change
on this file since 321 was
8,
checked in by g7moreau, 13 years ago
|
- Move biblehal folder in subfolder of trakata
|
-
Property svn:eol-style set to
native
|
File size:
1.4 KB
|
Line | |
---|
1 | DESTDIR= |
---|
2 | |
---|
3 | LIBDIR=/usr/lib/biblehal |
---|
4 | CRONDIR=/etc/cron.d |
---|
5 | ETCDIR=/etc/biblehal |
---|
6 | |
---|
7 | .PHONY: all install update sync help |
---|
8 | |
---|
9 | all: help |
---|
10 | |
---|
11 | install: update |
---|
12 | @id bib-le-hal > /dev/null || adduser --system --group --shell /bin/bash --home /var/lib/biblehal bib-le-hal |
---|
13 | @install -d -m 0755 -o root -g root $(DESTDIR)/$(CRONDIR) |
---|
14 | install -m 0644 -o root -g root biblehal.cron $(DESTDIR)/$(CRONDIR)/klask |
---|
15 | |
---|
16 | update: |
---|
17 | @install -d -m 0755 -o root -g root $(DESTDIR)/$(LIBDIR) |
---|
18 | install -m 0755 -o root -g root biblehal-clean $(DESTDIR)/$(LIBDIR) |
---|
19 | install -m 0755 -o root -g root biblehal-cleanall $(DESTDIR)/$(LIBDIR) |
---|
20 | install -m 0755 -o root -g root biblehal-count $(DESTDIR)/$(LIBDIR) |
---|
21 | install -m 0755 -o root -g root biblehal-explode $(DESTDIR)/$(LIBDIR) |
---|
22 | install -m 0755 -o root -g root biblehal-pop $(DESTDIR)/$(LIBDIR) |
---|
23 | install -m 0755 -o root -g root biblehal-popall $(DESTDIR)/$(LIBDIR) |
---|
24 | install -m 0755 -o root -g root biblehal-poplast $(DESTDIR)/$(LIBDIR) |
---|
25 | install -m 0755 -o root -g root biblehal-push $(DESTDIR)/$(LIBDIR) |
---|
26 | install -m 0755 -o root -g root biblehal-pushall $(DESTDIR)/$(LIBDIR) |
---|
27 | |
---|
28 | @install -d -m 0755 -o root -g root $(DESTDIR)/$(ETCDIR) |
---|
29 | install -m 0644 -o root -g root biblehal-sample.conf $(DESTDIR)/$(ETCDIR) |
---|
30 | |
---|
31 | sync: |
---|
32 | svn update |
---|
33 | |
---|
34 | help: |
---|
35 | @echo "Possible target:" |
---|
36 | @echo " * all : this help" |
---|
37 | @echo " * install : complete installation" |
---|
38 | @echo " * update : minimal installation" |
---|
39 | @echo " * sync : sync with subversion" |
---|
Note: See
TracBrowser
for help on using the repository browser.