From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 8 May 2016 10:44:09 +0000 (+0000)
Subject: Let the gen-dist target work in cwds other than current
X-Git-Tag: v_3_0_25~47
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/developer-manual/static/@default-cgi@show-url-info?a=commitdiff_plain;h=8004016d83910a65437b03c17da08eb510d6cfcc;p=privoxy.git

Let the gen-dist target work in cwds other than current
---

diff --git a/GNUmakefile.in b/GNUmakefile.in
index 3f4a3c58..31a0ee85 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -1,6 +1,6 @@
 # Note:  GNUmakefile is built automatically from GNUmakefile.in
 #
-# $Id: GNUmakefile.in,v 1.245 2016/05/03 13:21:08 fabiankeil Exp $
+# $Id: GNUmakefile.in,v 1.246 2016/05/03 13:21:24 fabiankeil Exp $
 #
 # Written by and Copyright (C) 2001-2016 members of the
 # Privoxy team. https://www.privoxy.org/
@@ -365,7 +365,7 @@ gen-dist: dist-check
 	@$(ECHO) ""
 	$(MAKE) $(PROGRAM)
 	$(STRIP_PROG) $(PROGRAM)
-	$(LN) -s current ../privoxy-$(VERSION)-$(CODE_STATUS)
+	$(LN) -s `pwd` ../privoxy-$(VERSION)-$(CODE_STATUS)
 # add program
 	(cd .. && $(TAR) --exclude "PACKAGERS" -cvhf $(GEN_DIST_TAR_NAME) privoxy-$(VERSION)-$(CODE_STATUS)/$(PROGRAM))
 # add config files