aboutsummaryrefslogtreecommitdiffstats
path: root/singlecall.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-04 13:37:31 +0200
committerMattias Andrée <maandree@kth.se>2021-04-04 13:37:31 +0200
commitd831e279cb856ec720ed770ce9d0c39eb347b7e1 (patch)
tree51dac38fdba5dfdee06a46fa7bed3dc0f01c035f /singlecall.mk
parentmisc (diff)
downloadcontacts-d831e279cb856ec720ed770ce9d0c39eb347b7e1.tar.gz
contacts-d831e279cb856ec720ed770ce9d0c39eb347b7e1.tar.bz2
contacts-d831e279cb856ec720ed770ce9d0c39eb347b7e1.tar.xz
m + add list-birthdays and set-contact-birthday
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'singlecall.mk')
-rw-r--r--singlecall.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/singlecall.mk b/singlecall.mk
new file mode 100644
index 0000000..1e429f4
--- /dev/null
+++ b/singlecall.mk
@@ -0,0 +1,10 @@
+all: $(BIN)
+
+install: contacts
+ mkdir -p -- "$(DESTDIR)$(PREFIX)/lib"
+ mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
+ cp -- contacts "$(DESTDIR)$(PREFIX)/lib/"
+ cd -- "$(DESTDIR)$(PREFIX)/bin/" &&\
+ for f in $(BIN); do\
+ ln -s -- ../lib/contacts "$$f" || exit 1;\
+ done