Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Do not hardcode tools in upstream Makefile
· e35b401b
Andreas Tille
authored
May 07, 2019
e35b401b
Upload to unstable
· 207f319d
Andreas Tille
authored
May 07, 2019
207f319d
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
207f319d
patman (1.2.2+dfsg-6) unstable; urgency=medium
[ Helmut Grohne ]
* Do not hardcode tools in upstream Makefile
Closes: #928447
-- Andreas Tille <tille@debian.org> Tue, 07 May 2019 08:56:07 +0200
patman (1.2.2+dfsg-5) unstable; urgency=medium
* Secure URI in Homepage
...
...
debian/patches/cross.patch
0 → 100644
View file @
207f319d
From: Helmut Grohne <helmut@subdivi.de>
Date: Sat, 4 May 2019 22:19:19 +0200
Bug-Debian: https://bugs.debian.org/928447
Description: Do not hardcode tools in upstream Makefile
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@
prefix := ${HOME}
version := 1.2
+INSTALL ?= install
TARGETS := patman
OBJS := prefix_tree.o fasta.o main.o
CXXFLAGS += -Wall
@@ -19,16 +20,16 @@
LDLIBS += -lpopt
all: $(TARGETS)
patman: $(OBJS)
- g++ $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
+ $(CXX) $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
%.o: %.cpp
- g++ -DVERSION="\"$(version)\"" $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
+ $(CXX) -DVERSION="\"$(version)\"" $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
install: $(TARGETS)
- install -d ${prefix}/bin
- install -d ${prefix}/share/man/man1
- install -s -m755 $^ ${prefix}/bin
- install -m644 patman.1 ${prefix}/share/man/man1
+ $(INSTALL) -d ${prefix}/bin
+ $(INSTALL) -d ${prefix}/share/man/man1
+ $(INSTALL) -s -m755 $^ ${prefix}/bin
+ $(INSTALL) -m644 patman.1 ${prefix}/share/man/man1
fasta.o: fasta.h
prefix_tree.o: prefix_tree.h global.h
debian/patches/series
View file @
207f319d
spelling.patch
makefile.patch
cross.patch