[Pkg-privacy-commits] [onioncat] 226/340: Fix build system to work with a non-default DESTDIR.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:04:42 UTC 2015


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

infinity0 pushed a commit to branch debian
in repository onioncat.

commit e690d28149c466111cbd7ad7c201f242d821c4cb
Author: intrigeri <intrigeri at boum.org>
Date:   Tue May 10 17:24:14 2011 +0200

    Fix build system to work with a non-default DESTDIR.
    
    E.g. a Debian package built using tools such as pbuilder is broken when
    creating links to $DESTDIR/... as $DESTDIR is set to a temporary build
    directory.
---
 src/Makefile.am | 2 +-
 src/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index de5d307..221622e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,6 +4,6 @@ noinst_HEADERS = ocat.h ocat_netdesc.h strlcpy.c strlcat.c ocathosts.h
 AM_CFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\"
 
 install-exec-hook:
-	$(LN_S) -f $(DESTDIR)$(bindir)/ocat$(EXEEXT) \
+	$(LN_S) -f ocat$(EXEEXT) \
 	$(DESTDIR)$(bindir)/gcat$(EXEEXT)
 
diff --git a/src/Makefile.in b/src/Makefile.in
index 4523e78..89c9e15 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -440,7 +440,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-info-am
 
 
 install-exec-hook:
-	$(LN_S) -f $(DESTDIR)$(bindir)/ocat$(EXEEXT) \
+	$(LN_S) -f ocat$(EXEEXT) \
 	$(DESTDIR)$(bindir)/gcat$(EXEEXT)
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncat.git



More information about the Pkg-privacy-commits mailing list