[med-svn] [emmax] 03/10: Further cleanups on installation of emmax binaries.
Andreas Tille
tille at debian.org
Tue Dec 5 14:31:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository emmax.
commit c1c7e40c7105a713bbe3a51cda8e1d5938aa36c7
Author: Steffen Moeller <moeller at debian.org>
Date: Wed Jun 12 12:24:33 2013 +0000
Further cleanups on installation of emmax binaries.
---
debian/emmax.dirs | 1 +
debian/emmax.install | 4 ++--
debian/patches/clean.patch | 13 +++++++++++++
debian/patches/install.patch | 20 ++++++++++++++++++++
debian/patches/series | 2 ++
debian/rules | 3 +++
6 files changed, 41 insertions(+), 2 deletions(-)
diff --git a/debian/emmax.dirs b/debian/emmax.dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/emmax.dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/emmax.install b/debian/emmax.install
index c893f9d..282ceba 100644
--- a/debian/emmax.install
+++ b/debian/emmax.install
@@ -1,2 +1,2 @@
-emmax
-emmax-kin
+emmax usr/bin
+emmax-kin usr/bin
diff --git a/debian/patches/clean.patch b/debian/patches/clean.patch
new file mode 100644
index 0000000..cb45840
--- /dev/null
+++ b/debian/patches/clean.patch
@@ -0,0 +1,13 @@
+Index: emmax-0~beta.20100307/makefile
+===================================================================
+--- emmax-0~beta.20100307.orig/makefile
++++ emmax-0~beta.20100307/makefile
+@@ -15,7 +15,7 @@
+ ${CC} ${COMPFLAGS} -o $@ $? ${CLIBS}
+
+ clean:
+- rm -f *.o emmax
++ rm -f *.o emmax emmax-kin
+
+ install: all
+ mkdir -p $(DESTDIR)$(PREFIX)/bin/
diff --git a/debian/patches/install.patch b/debian/patches/install.patch
new file mode 100644
index 0000000..5353dca
--- /dev/null
+++ b/debian/patches/install.patch
@@ -0,0 +1,20 @@
+Index: emmax-0~beta.20100307/makefile
+===================================================================
+--- emmax-0~beta.20100307.orig/makefile
++++ emmax-0~beta.20100307/makefile
+@@ -1,5 +1,7 @@
+ # HAPA makefile
+
++DESTDIR=
++PREFIX=/usr
+ INCFLAGS =
+ LIBFLAGS = -Wall
+
+@@ -14,3 +16,7 @@
+
+ clean:
+ rm -f *.o emmax
++
++install: all
++ mkdir -p $(DESTDIR)$(PREFIX)/bin/
++ cp emmax emmax-kin $(DESTDIR)$(PREFIX)/bin/
diff --git a/debian/patches/series b/debian/patches/series
index 7721a35..22b0179 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,5 @@
dynamic.patch
paths.patch
aborts.patch
+install.patch
+clean.patch
diff --git a/debian/rules b/debian/rules
index 0aecf0e..52c7a48 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,3 +14,6 @@
override_dh_strip:
dh_strip --dbg-package=emmax-dbg
+
+override_dh_install:
+ dh_install --sourcedir=.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/emmax.git
More information about the debian-med-commit
mailing list