From 51221bb441a5f44403b797c87a1d205881593faf Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 14 Dec 2018 20:12:22 +0100 Subject: [PATCH] TT#49150 Namespace program names with ngcp- Create backward compatibility symlinks for a smoother transition. Change-Id: Ia2814c45e767d4e3d38eaa71588232c1f50b4261 --- Makefile | 14 ++++++++++++++ debian/install | 4 ---- debian/ngcp-vmnotify.links | 2 ++ 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 Makefile delete mode 100644 debian/install create mode 100644 debian/ngcp-vmnotify.links diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b1d61fe --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +INSTALL = install +INSTALL_PROGRAM = $(INSTALL) +INSTALL_DIR = $(INSTALL) -d +INSTALL_DATA = $(INSTALL) -m 644 + +all: + +install: + $(INSTALL_DIR) $(DESTDIR)/etc/ngcp-vmnotify + $(INSTALL_DATA) mwi.sip $(DESTDIR)/etc/ngcp-vmnotify/ + $(INSTALL_DATA) vmnotify.conf $(DESTDIR)/etc/ngcp-vmnotify/ + $(INSTALL_DIR) $(DESTDIR)/usr/bin + $(INSTALL_PROGRAM) vmnotify $(DESTDIR)/usr/bin/ngcp-vmnotify + $(INSTALL_PROGRAM) vmsmsnotify $(DESTDIR)/usr/bin/ngcp-vmsmsnotify diff --git a/debian/install b/debian/install deleted file mode 100644 index a3cb203..0000000 --- a/debian/install +++ /dev/null @@ -1,4 +0,0 @@ -mwi.sip etc/ngcp-vmnotify/ -vmnotify usr/bin/ -vmnotify.conf etc/ngcp-vmnotify/ -vmsmsnotify usr/bin/ diff --git a/debian/ngcp-vmnotify.links b/debian/ngcp-vmnotify.links new file mode 100644 index 0000000..9d062ef --- /dev/null +++ b/debian/ngcp-vmnotify.links @@ -0,0 +1,2 @@ +usr/bin/ngcp-vmnotify usr/bin/vmnotify +usr/bin/ngcp-vmsmsnotify usr/bin/vmsmsnotify