[med-svn] [Git][med-team/chip-seq][master] 2 commits: Fix linker flags
Andreas Tille
gitlab at salsa.debian.org
Tue Mar 24 19:03:41 GMT 2020
Andreas Tille pushed to branch master at Debian Med / chip-seq
Commits:
4f62cf97 by Andreas Tille at 2020-03-24T19:48:57+01:00
Fix linker flags
- - - - -
5934d18d by Andreas Tille at 2020-03-24T20:03:26+01:00
Fix installation
- - - - -
4 changed files:
- + debian/manpages
- + debian/patches/fix_install.patch
- + debian/patches/fix_linker.patch
- + debian/patches/series
Changes:
=====================================
debian/manpages
=====================================
@@ -0,0 +1 @@
+*1.gz
=====================================
debian/patches/fix_install.patch
=====================================
@@ -0,0 +1,15 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 23 Mar 2020 20:55:38 +0100
+Description: Fix install dir
+
+--- a/Makefile
++++ b/Makefile
+@@ -10,7 +10,7 @@ LDFLAGS += -O3 -std=gnu99 -fPIC -lm
+ #binDir = $(PWD)/bin
+ #manDir = /usr/share/man/man1/
+ ifeq ($(prefix),)
+- prefix := $(DESTDIR).
++ prefix := $(DESTDIR)
+ endif
+ binDir = $(prefix)/bin
+ datDir = $(prefix)/share/chip-seq
=====================================
debian/patches/fix_linker.patch
=====================================
@@ -0,0 +1,36 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 23 Mar 2020 20:55:38 +0100
+Description: Fix linker flags
+
+--- a/Makefile
++++ b/Makefile
+@@ -3,7 +3,7 @@
+ #
+ CC = gcc
+ CFLAGS = -O3 -std=gnu99 -W -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+-LDFLAGS = -O3 -std=gnu99 -fPIC -lm
++LDFLAGS += -O3 -std=gnu99 -fPIC -lm
+ #CFLAGS = -O3 -std=gnu99 -W -pedantic
+ #LDFLAGS = -O3 -std=gnu99 -fPIC -lm
+
+@@ -77,16 +77,16 @@ tools/filter_counts : $(FILTER_COUNTS_SR
+ $(CC) $(CFLAGS) -o tools/filter_counts $^
+
+ tools/bed2bed_display : $(BED2BED_DISPLAY_SRC) $(OBJS)
+- $(CC) $(LDFLAGS) -o tools/bed2bed_display $^
++ $(CC) -o tools/bed2bed_display $^ $(LDFLAGS)
+
+ tools/bed2sga : $(BED2SGA_SRC) $(OBJS)
+- $(CC) $(LDFLAGS) -o tools/bed2sga $^
++ $(CC) -o tools/bed2sga $^ $(LDFLAGS)
+
+ tools/sga2bed : $(SGA2BED_SRC) $(OBJS)
+- $(CC) $(LDFLAGS) -o tools/sga2bed $^
++ $(CC) -o tools/sga2bed $^ $(LDFLAGS)
+
+ tools/sga2wig : $(SGA2WIG_SRC) $(OBJS)
+- $(CC) $(LDFLAGS) -o tools/sga2wig $^
++ $(CC) -o tools/sga2wig $^ $(LDFLAGS)
+
+ install: install-bin
+
=====================================
debian/patches/series
=====================================
@@ -0,0 +1,2 @@
+fix_linker.patch
+fix_install.patch
View it on GitLab: https://salsa.debian.org/med-team/chip-seq/-/compare/41c8225accb3fcb9d7d599536c8f61191509193e...5934d18d1ef0c9298cc9e9d77caccbab0b9d9e2e
--
View it on GitLab: https://salsa.debian.org/med-team/chip-seq/-/compare/41c8225accb3fcb9d7d599536c8f61191509193e...5934d18d1ef0c9298cc9e9d77caccbab0b9d9e2e
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200324/0fca5cd2/attachment-0001.html>
More information about the debian-med-commit
mailing list