couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject svn commit: r667971 - in /incubator/couchdb/trunk/etc: Makefile.am couchdb/Makefile.am
Date Sun, 15 Jun 2008 16:49:21 GMT
Author: nslater
Date: Sun Jun 15 09:49:21 2008
New Revision: 667971

URL: http://svn.apache.org/viewvc?rev=667971&view=rev
Log:
removed abspath from makefiles

Modified:
    incubator/couchdb/trunk/etc/Makefile.am
    incubator/couchdb/trunk/etc/couchdb/Makefile.am

Modified: incubator/couchdb/trunk/etc/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/etc/Makefile.am?rev=667971&r1=667970&r2=667971&view=diff
==============================================================================
--- incubator/couchdb/trunk/etc/Makefile.am (original)
+++ incubator/couchdb/trunk/etc/Makefile.am Sun Jun 15 09:49:21 2008
@@ -30,12 +30,6 @@
 transform = @program_transform_name@
 couchdb_command_name = `echo couchdb | sed '$(transform)'`
 
-abs_bindir = $(abspath $(bindir))
-abs_localstatedir = $(abspath $(localstatedir))
-abs_sysconfdir = $(abspath $(sysconfdir))
-abs_pkgconfdir = $(abspath $(pkgconfdir))
-abs_erlangbindir = $(abspath $(erlangbindir))
-
 default/couchdb: default/couchdb.tpl
 	if test "$(mkdir_p)"; then \
 	    $(mkdir_p) default; \
@@ -45,9 +39,9 @@
 	    fi \
 	fi
 	sed -e "s|%configure_input%|$@. Generated from $< by configure.|" \
-	    -e "s|%pkgconfdir%|$(abs_pkgconfdir)|g" \
-	    -e "s|%sysconfdir%|$(abs_sysconfdir)|" \
-	    -e "s|%localstatedir%|$(abs_localstatedir)|" \
+	    -e "s|%pkgconfdir%|$(pkgconfdir)|g" \
+	    -e "s|%sysconfdir%|$(sysconfdir)|" \
+	    -e "s|%localstatedir%|$(localstatedir)|" \
 	< $< > $@
 
 init/couchdb: init/couchdb.tpl
@@ -59,9 +53,9 @@
 	    fi \
 	fi
 	sed -e "s|%configure_input%|$@. Generated from $< by configure.|" \
-	    -e "s|%bindir%|$(abs_bindir)|" \
-	    -e "s|%sysconfdir%|$(abs_sysconfdir)|" \
-	    -e "s|%erlangbindir%|$(abs_erlangbindir)|" \
+	    -e "s|%bindir%|$(bindir)|" \
+	    -e "s|%sysconfdir%|$(sysconfdir)|" \
+	    -e "s|%erlangbindir%|$(erlangbindir)|" \
 	    -e "s|%couchdb_command_name%|$(couchdb_command_name)|" \
 	< $< > $@
 
@@ -77,7 +71,7 @@
 	    fi \
 	fi
 	sed -e "s|%configure_input%|$@. Generated from $< by configure.|" \
-	    -e "s|%bindir%|$(abs_bindir)|" \
+	    -e "s|%bindir%|$(bindir)|" \
 	    -e "s|%couchdb_command_name%|$(couchdb_command_name)|" \
 	< $< > $@
 

Modified: incubator/couchdb/trunk/etc/couchdb/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/etc/couchdb/Makefile.am?rev=667971&r1=667970&r2=667971&view=diff
==============================================================================
--- incubator/couchdb/trunk/etc/couchdb/Makefile.am (original)
+++ incubator/couchdb/trunk/etc/couchdb/Makefile.am Sun Jun 15 09:49:21 2008
@@ -19,18 +19,12 @@
 
 couchprivlibdir = $(erlanglibdir)/couch-$(version)/priv/lib
 
-abs_bindir = $(abspath $(bindir))
-abs_pkgdatadir = $(abspath $(pkgdatadir))
-abs_pkgconfdir = $(abspath $(pkgconfdir))
-abs_pkgstatelibdir = $(abspath $(pkgstatelibdir))
-abs_pkgstatelogdir = $(abspath $(pkgstatelogdir))
-
 couch.ini: couch.ini.tpl
-	sed -e "s|%bindir%|$(abs_bindir)|g" \
-	    -e "s|%pkgconfdir%|$(abs_pkgconfdir)|g" \
-	    -e "s|%pkgdatadir%|$(abs_pkgdatadir)|g" \
-	    -e "s|%pkgstatelibdir%|$(abs_pkgstatelibdir)|g" \
-	    -e "s|%pkgstatelogdir%|$(abs_pkgstatelogdir)|g" \
+	sed -e "s|%bindir%|$(bindir)|g" \
+	    -e "s|%pkgconfdir%|$(pkgconfdir)|g" \
+	    -e "s|%pkgdatadir%|$(pkgdatadir)|g" \
+	    -e "s|%pkgstatelibdir%|$(pkgstatelibdir)|g" \
+	    -e "s|%pkgstatelogdir%|$(pkgstatelogdir)|g" \
 	    -e "s|%couchprivlibdir%|$(couchprivlibdir)|g" \
 	    -e "s|%couchjs_command_name%|$(couchjs_command_name)|g" \
 	< $< > $@



Mime
View raw message