]> granicus.if.org Git - apache/commitdiff
Fix regeneration of build datestamp on every make invocation (a
authorJoe Orton <jorton@apache.org>
Fri, 9 Jan 2004 12:19:55 +0000 (12:19 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 9 Jan 2004 12:19:55 +0000 (12:19 +0000)
regression since 1.3).

* Makefile.in: Remove redundant PHONY_TARGETS setting.

* server/Makefile.in: Mark buildmark.c as phony; build it indirectly
via buildmarked.c since implicit rules are ignored for phony targets.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102243 13f79535-47bb-0310-9956-ffa450edef68

Makefile.in
server/.cvsignore
server/Makefile.in

index bfc97a82a6df42d6dc55719dee9f19675541a8ae..52a144fc86230a843c0c0cd8befd7cdb84550fc5 100644 (file)
@@ -13,7 +13,6 @@ PROGRAM_DEPENDENCIES = \
 
 PROGRAMS        = $(PROGRAM_NAME)
 TARGETS         = $(PROGRAMS) $(shared_build) $(other_targets)
-PHONY_TARGETS   = $(srcdir)/buildmark.c
 INSTALL_TARGETS = install-conf install-htdocs install-error install-icons \
        install-other install-cgi install-include install-suexec install-man \
        install-build
index e406311138b0d29c3c19cdc61757beaf3eed26c0..43f85eb239a21b2267f054d3483038674c224b10 100644 (file)
@@ -20,3 +20,4 @@ BuildLog.htm
 *.stt
 *.sto
 *.vcproj
+buildmarked.c
index 698dda6af1b4f743ab57675a422a3a1043acfc17..bd5799edada81d259f735097f0f08075b3bf0b09 100644 (file)
@@ -1,6 +1,6 @@
 
 CLEAN_TARGETS = gen_test_char test_char.h gen_uri_delims uri_delims.h \
-       ApacheCoreOS2.def
+       ApacheCoreOS2.def buildmarked.c
 DISTCLEAN_TARGETS = httpd.exp
 EXTRACLEAN_TARGETS = export_files exports.c export_vars.h
 
@@ -13,14 +13,19 @@ LTLIBRARY_SOURCES = \
        util_script.c util_md5.c util_cfgtree.c util_ebcdic.c util_time.c \
        connection.c listen.c \
        mpm_common.c util_charset.c util_debug.c util_xml.c \
-       util_filter.c exports.c buildmark.c \
+       util_filter.c exports.c buildmarked.c \
        scoreboard.c error_bucket.c protocol.c core.c request.c provider.c
 
 TARGETS = delete-exports $(LTLIBRARY_NAME) $(CORE_IMPLIB_FILE) export_vars.h httpd.exp
 
+PHONY_TARGETS = $(srcdir)/buildmark.c
+
 include $(top_builddir)/build/rules.mk
 include $(top_srcdir)/build/library.mk
 
+buildmarked.c: $(srcdir)/buildmark.c
+       cp $(srcdir)/buildmark.c $@
+
 gen_test_char_OBJECTS = gen_test_char.lo util_debug.lo
 gen_test_char: $(gen_test_char_OBJECTS)
        $(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS)