couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r805272 - in /couchdb/trunk: Makefile.am etc/couchdb/Makefile.am license.skip src/couchdb/Makefile.am src/couchdb/priv/ src/couchdb/priv/Makefile.am
Date Tue, 18 Aug 2009 04:27:07 GMT
Author: davisp
Date: Tue Aug 18 04:27:07 2009
New Revision: 805272

URL: http://svn.apache.org/viewvc?rev=805272&view=rev
Log:
Fixing make distcheck errors.


Modified:
    couchdb/trunk/Makefile.am
    couchdb/trunk/etc/couchdb/Makefile.am
    couchdb/trunk/license.skip
    couchdb/trunk/src/couchdb/Makefile.am
    couchdb/trunk/src/couchdb/priv/   (props changed)
    couchdb/trunk/src/couchdb/priv/Makefile.am

Modified: couchdb/trunk/Makefile.am
URL: http://svn.apache.org/viewvc/couchdb/trunk/Makefile.am?rev=805272&r1=805271&r2=805272&view=diff
==============================================================================
--- couchdb/trunk/Makefile.am (original)
+++ couchdb/trunk/Makefile.am Tue Aug 18 04:27:07 2009
@@ -49,11 +49,11 @@
 dev: all
 	@echo "This command is intended for developers to use;"
 	@echo "it creates development ini files as well as a"
-	@echo "$(top_srcdir)/tmp structure for development runtime files."
+	@echo "./tmp structure for development runtime files."
 	@echo "Use ./utils/run to launch CouchDB from the source tree."
-	mkdir -p $(top_srcdir)/tmp/lib
-	mkdir -p $(top_srcdir)/tmp/log
-	mkdir -p $(top_srcdir)/tmp/run
+	mkdir -p ./tmp/lib
+	mkdir -p ./tmp/log
+	mkdir -p ./tmp/run
 
 .PHONY: local-clean
 local-clean: maintainer-clean

Modified: couchdb/trunk/etc/couchdb/Makefile.am
URL: http://svn.apache.org/viewvc/couchdb/trunk/etc/couchdb/Makefile.am?rev=805272&r1=805271&r2=805272&view=diff
==============================================================================
--- couchdb/trunk/etc/couchdb/Makefile.am (original)
+++ couchdb/trunk/etc/couchdb/Makefile.am Tue Aug 18 04:27:07 2009
@@ -56,8 +56,12 @@
 	    -e "s|%couchjs_command_name%|$(couchjs_dev_command_name)|g" \
 	< $< > $@
 
-local_dev.ini:
-	cp local.ini $@
+# Noah said to not specify local.ini but it borks
+# VPATH builds that make distcheck uses.
+local_dev.ini: local.ini
+	if test ! -f "$@"; then \
+	    cp $< $@; \
+	fi
 
 install-data-hook:
 	if test ! -f "$(DESTDIR)$(localconfdir)/local.ini"; then \

Modified: couchdb/trunk/license.skip
URL: http://svn.apache.org/viewvc/couchdb/trunk/license.skip?rev=805272&r1=805271&r2=805272&view=diff
==============================================================================
--- couchdb/trunk/license.skip (original)
+++ couchdb/trunk/license.skip Tue Aug 18 04:27:07 2009
@@ -55,6 +55,7 @@
 ^src/couchdb/Makefile
 ^src/couchdb/Makefile.in
 ^src/couchdb/*.o
+^src/couchdb/priv/.deps/*
 ^src/couchdb/priv/Makefile
 ^src/couchdb/priv/Makefile.in
 ^src/couchdb/priv/couchspawnkillable

Modified: couchdb/trunk/src/couchdb/Makefile.am
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/Makefile.am?rev=805272&r1=805271&r2=805272&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/Makefile.am (original)
+++ couchdb/trunk/src/couchdb/Makefile.am Tue Aug 18 04:27:07 2009
@@ -39,15 +39,10 @@
 couchjs_LDADD = $(CURL_LDFLAGS)
 
 if WINDOWS
-priv_couchspawnkillable_SOURCES = priv/couchspawnkillable_win.c
-couchpriv_PROGRAMS = priv/couchspawnkillable
 couch_erl_driver_la_LDFLAGS += -no-undefined
-
 # copy ICU dlls for the erlang driver
-dist_couch_erl_driver_la_DATA=$(ICU_LOCAL_BIN)/icuuc42.dll $(ICU_LOCAL_BIN)/icudt42.dll $(ICU_LOCAL_BIN)/icuin42.dll
+#dist_couch_erl_driver_la_DATA=$(ICU_LOCAL_BIN)/icuuc42.dll $(ICU_LOCAL_BIN)/icudt42.dll
$(ICU_LOCAL_BIN)/icuin42.dll
 couch_erl_driver_ladir=$(bindir)
-else
-couchpriv_PROGRAMS=priv/couchspawnkillable
 endif
 
 couchinclude_DATA = couch_db.hrl
@@ -206,26 +201,12 @@
 %.beam: %.erl couch_db.hrl
 	$(ERLC) $(ERLC_FLAGS) ${TEST} $<;
 
-if !WINDOWS
-priv/couchspawnkillable: priv/couchspawnkillable.sh
-	cp $< $@
-endif
-
 install-data-hook:
 	if test -f "$(DESTDIR)$(couchprivlibdir)/couch_erl_driver"; then \
 	    rm -f "$(DESTDIR)$(couchprivlibdir)/couch_erl_driver.so"; \
 	    cd "$(DESTDIR)$(couchprivlibdir)" && \
 	        $(LN_S) couch_erl_driver couch_erl_driver.so; \
 	fi
-if WINDOWS
-# libtool and automake have defeated markh.  For each of our executables
-# we end up with 2 copies - one directly in the 'target' folder (eg, 'priv')
-# and another - the correct one - in .libs.  The former doesn't work but is 
-# what gets installed for 'couchspawnkillable' - but the correct one for
-# couchjs.exe *does* get copied.  *shrug*  So just clobber it with the 
-# correct one here... See bug COUCHDB-439
-	$(INSTALL) priv/.libs/couchspawnkillable.exe "$(DESTDIR)$(couchprivdir)/couchspawnkillable.exe"
-endif
 
 uninstall-local:
 	if test -f "$(DESTDIR)$(couchprivlibdir)/couch_erl_driver"; then \

Propchange: couchdb/trunk/src/couchdb/priv/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Aug 18 04:27:07 2009
@@ -1,3 +1,4 @@
+.deps
 Makefile.in
 Makefile
 couchspawnkillable

Modified: couchdb/trunk/src/couchdb/priv/Makefile.am
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/priv/Makefile.am?rev=805272&r1=805271&r2=805272&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/priv/Makefile.am (original)
+++ couchdb/trunk/src/couchdb/priv/Makefile.am Tue Aug 18 04:27:07 2009
@@ -10,4 +10,27 @@
 ## License for the specific language governing permissions and limitations under
 ## the License.
 
-## This file intentionally left blank.
+couchprivdir = $(couchlibdir)/priv
+
+EXTRA_DIST = couchspawnkillable.sh
+
+couchpriv_PROGRAMS = couchspawnkillable
+if WINDOWS
+couchspawnkillable_SOURCES = couchspawnkillable_win.c
+endif
+
+if !WINDOWS
+couchspawnkillable: couchspawnkillable.sh
+	cp $< $@
+endif
+
+if WINDOWS
+install-data-hook:
+# libtool and automake have defeated markh.  For each of our executables
+# we end up with 2 copies - one directly in the 'target' folder (eg, 'priv')
+# and another - the correct one - in .libs.  The former doesn't work but is 
+# what gets installed for 'couchspawnkillable' - but the correct one for
+# couchjs.exe *does* get copied.  *shrug*  So just clobber it with the 
+# correct one here... See bug COUCHDB-439
+	$(INSTALL) .libs/couchspawnkillable.exe "$(DESTDIR)$(couchprivdir)/couchspawnkillable.exe"
+endif



Mime
View raw message