You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2007/12/16 08:32:28 UTC

svn commit: r604563 - in /httpd/mod_ftp/trunk/modules/ftp: Makefile.apxs Makefile.in

Author: wrowe
Date: Sat Dec 15 23:32:27 2007
New Revision: 604563

URL: http://svn.apache.org/viewvc?rev=604563&view=rev
Log:
ftp_protocol.h moved to this local dir

Modified:
    httpd/mod_ftp/trunk/modules/ftp/Makefile.apxs
    httpd/mod_ftp/trunk/modules/ftp/Makefile.in

Modified: httpd/mod_ftp/trunk/modules/ftp/Makefile.apxs
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/Makefile.apxs?rev=604563&r1=604562&r2=604563&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/Makefile.apxs (original)
+++ httpd/mod_ftp/trunk/modules/ftp/Makefile.apxs Sat Dec 15 23:32:27 2007
@@ -25,8 +25,13 @@
 INCLUDES=-I$(builddir) -I$(srcdir) -I$(ftp_srcdir)/include
 #LIBS=-Lmy/lib/dir -lmylib
 
-$(ftp_srcdir)/include/ftp_protocol.h: $(ftp_srcdir)/include/mod_ftp.h \
+#
+#   since ftp_protocol.h is only updated when the source tree
+#   is changed, it's refreshed in srcdir rather than builddir
+#
+
+$(srcdir)/ftp_protocol.h: $(top_srcdir)/include/mod_ftp.h \
 		$(srcdir)/ftp_commands.c
-	cd $(srcdir); \
-	./remake_ftp_protocol > $(ftp_srcdir)/include/ftp_protocol.h
+	$(srcdir)/remake_ftp_protocol > $(srcdir)/ftp_protocol.h
+
 

Modified: httpd/mod_ftp/trunk/modules/ftp/Makefile.in
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/Makefile.in?rev=604563&r1=604562&r2=604563&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/Makefile.in (original)
+++ httpd/mod_ftp/trunk/modules/ftp/Makefile.in Sat Dec 15 23:32:27 2007
@@ -22,8 +22,11 @@
 #
 #   developer stuff
 #
+#   since ftp_protocol.h is only updated when the source tree
+#   is changed, it's refreshed in srcdir rather than builddir
+#
 
-$(top_srcdir)/include/ftp_protocol.h: $(top_srcdir)/include/mod_ftp.h \
-		$(top_srcdir)/modules/ftp/ftp_commands.c
-	./remake_ftp_protocol > $(top_srcdir)/include/ftp_protocol.h
+$(srcdir)/ftp_protocol.h: $(top_srcdir)/include/mod_ftp.h \
+		$(srcdir)/ftp_commands.c
+	$(srcdir)/remake_ftp_protocol > $(srcdir)/ftp_protocol.h