[med-svn] [fastml] 02/04: Fix install target in upstream Makefile

Andreas Tille tille at debian.org
Thu Nov 19 07:47:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository fastml.

commit 7ddbda7f1da1778e58a4ca457464128a15f2ef3f
Author: Andreas Tille <tille at debian.org>
Date:   Thu Nov 19 08:23:20 2015 +0100

    Fix install target in upstream Makefile
---
 debian/install                         |  1 +
 debian/patches/fix_intall_target.patch | 13 ++++---------
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..0b02e87
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+bin	usr
diff --git a/debian/patches/fix_intall_target.patch b/debian/patches/fix_intall_target.patch
index 87dadc8..af9e1ae 100644
--- a/debian/patches/fix_intall_target.patch
+++ b/debian/patches/fix_intall_target.patch
@@ -1,19 +1,14 @@
 Author: Andreas Tille <tille at debian.org>
 Last-Update: Mon, 22 Jun 2015 09:47:25 +0200
-Forwarde-Upstream: no (Debian only)
-Description: Fix broken install path
-Remark: Will be probably dropped later in favour of dh_install - just need to
- see what files should be installed
+Description: Fix install target by creating install dir if needed
 
 --- a/programs/Makefile.generic
 +++ b/programs/Makefile.generic
-@@ -120,7 +120,8 @@ tests: $(TEST_EXEC) $(EXEC)
+@@ -120,6 +120,7 @@ tests: $(TEST_EXEC) $(EXEC)
  
  install: $(addprefix $(binDir)/,$(EXEC))
  $(binDir)/%: %
--	cp $< $@
-+	mkdir -p $(DESTDIR)/usr/bin
-+	cp $< $(DESTDIR)/usr/bin
- 
++	mkdir -p $(binDir)
+ 	cp $< $@
  
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/fastml.git



More information about the debian-med-commit mailing list