You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2017/07/20 07:08:49 UTC

[couchdb-pkg] branch master updated: Do not create build directory in ~

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git


The following commit(s) were added to refs/heads/master by this push:
     new aca335c  Do not create build directory in ~
aca335c is described below

commit aca335c59100270516939a4726360b92018a4bb1
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Thu Jul 20 03:08:16 2017 -0400

    Do not create build directory in ~
---
 Makefile | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile
index 6c3d21f..afb7edb 100644
--- a/Makefile
+++ b/Makefile
@@ -79,26 +79,26 @@ lintian:
 
 # ######################################
 link-couch-dist:
-	rm -rf ~/rpmbuild/BUILD
-	ln -s $(DISTDIR) ~/rpmbuild/BUILD
+	rm -rf ../rpmbuild/BUILD
+	ln -s $(DISTDIR) ../rpmbuild/BUILD
 	$(eval VERSION := $(shell echo $(VERSION) | sed 's/-/\./'))
 
 make-rpmbuild:
-	rm -rf ~/rpmbuild
-	mkdir -p ~/rpmbuild
-	cp -R rpm/* ~/rpmbuild
+	rm -rf ../rpmbuild
+	mkdir -p ../rpmbuild
+	cp -R rpm/* ../rpmbuild
 
 build-rpm:
-	cd ~/rpmbuild && rpmbuild --verbose -bb SPECS/couchdb.spec --define "erlang_version $(ERLANG_VERSION)" --define '_version $(VERSION)'
+	cd ../rpmbuild && rpmbuild --verbose -bb SPECS/couchdb.spec --define "erlang_version $(ERLANG_VERSION)" --define '_version $(VERSION)'
 
 # ######################################
 make-js185:
 	spectool -g -R rpm/SPECS/js-1.8.5.spec
-	cd ~/rpmbuild && rpmbuild --verbose -bb SPECS/js-1.8.5.spec
+	cd ../rpmbuild && rpmbuild --verbose -bb SPECS/js-1.8.5.spec
 
 install-js185:
-	sudo rpm -i ~/rpmbuild/RPMS/x86_64/js-1*
-	sudo rpm -i ~/rpmbuild/RPMS/x86_64/js-devel*
+	sudo rpm -i ../rpmbuild/RPMS/x86_64/js-1*
+	sudo rpm -i ../rpmbuild/RPMS/x86_64/js-devel*
 
 rm-js185-rpms:
-	rm -f ~/rpmbuild/RPMS/x86_64/js*
+	rm -f ../rpmbuild/RPMS/x86_64/js*

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].