summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-04-11 19:27:17 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-04-16 10:20:02 +0000
commited8b07487b49a0e5b1d7d17342e40059705da335 (patch)
treea739a6d9df570813d242b94ea4a0a1f8a61a4ca5
parentCreating container program shortcut symlinks in makefile instead of keeping t... (diff)
downloadcompute-tools-ed8b07487b49a0e5b1d7d17342e40059705da335.tar.xz
compute-tools-ed8b07487b49a0e5b1d7d17342e40059705da335.zip
Creating container script shortcut symlinks in makefile instead of keeping them in the sources.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rw-r--r--Makefile5
l---------share/scripts/debian1
l---------share/scripts/debian.d1
l---------share/scripts/progress-linux1
l---------share/scripts/progress-linux.d1
5 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8425354..1cd2920 100644
--- a/Makefile
+++ b/Makefile
@@ -82,6 +82,11 @@ install: build
ln -sf container-shell $(DESTDIR)/usr/bin/cntsh
ln -sf container-shell.1 $(DESTDIR)/usr/share/man/man1/cntsh.1
+ ln -sf debconf ${DESTDIR}/usr/share/$(SOFTWARE)/scripts/debian
+ ln -sf debconf.d ${DESTDIR}/usr/share/$(SOFTWARE)/scripts/debian.d
+ ln -sf debconf ${DESTDIR}/usr/share/$(SOFTWARE)/scripts/progress-linux
+ ln -sf debconf.d ${DESTDIR}/usr/share/$(SOFTWARE)/scripts/progress-linux.d
+
mkdir -p $(DESTDIR)/lib/systemd/system
cp -r share/systemd/* $(DESTDIR)/lib/systemd/system
diff --git a/share/scripts/debian b/share/scripts/debian
deleted file mode 120000
index 7f725c5..0000000
--- a/share/scripts/debian
+++ /dev/null
@@ -1 +0,0 @@
-debconf \ No newline at end of file
diff --git a/share/scripts/debian.d b/share/scripts/debian.d
deleted file mode 120000
index 4ce36fe..0000000
--- a/share/scripts/debian.d
+++ /dev/null
@@ -1 +0,0 @@
-debconf.d \ No newline at end of file
diff --git a/share/scripts/progress-linux b/share/scripts/progress-linux
deleted file mode 120000
index 7f725c5..0000000
--- a/share/scripts/progress-linux
+++ /dev/null
@@ -1 +0,0 @@
-debconf \ No newline at end of file
diff --git a/share/scripts/progress-linux.d b/share/scripts/progress-linux.d
deleted file mode 120000
index 4ce36fe..0000000
--- a/share/scripts/progress-linux.d
+++ /dev/null
@@ -1 +0,0 @@
-debconf.d \ No newline at end of file