Alexandre Julliard : makefiles: Include manpages in the all: target.
Alexandre Julliard
julliard at winehq.org
Wed Jan 1 14:24:21 CST 2014
Module: wine
Branch: master
Commit: a40d4d20e0b915d16b96e660dab69d187303ebc9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a40d4d20e0b915d16b96e660dab69d187303ebc9
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Dec 31 19:18:06 2013 +0100
makefiles: Include manpages in the all: target.
---
Make.rules.in | 4 ----
tools/makedep.c | 3 ++-
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/Make.rules.in b/Make.rules.in
index 7cffd10..8d2c0cf 100644
--- a/Make.rules.in
+++ b/Make.rules.in
@@ -28,10 +28,6 @@ depend: dummy
.PHONY: depend
-# Rules for man pages
-
-all: $(MANPAGES:.man.in=.man)
-
# Rules for cleaning
clean::
diff --git a/tools/makedep.c b/tools/makedep.c
index 1216ff6..58e9646 100644
--- a/tools/makedep.c
+++ b/tools/makedep.c
@@ -1530,9 +1530,10 @@ static struct strarray output_sources(void)
dir, dest, source->sourcename );
free( dest );
free( dir );
+ strarray_add( &all_targets, xstrdup(obj) );
strarray_add_uniq( &phony_targets, "install-man-pages" );
}
- strarray_add( &clean_files, xstrdup(obj) );
+ else strarray_add( &clean_files, xstrdup(obj) );
output( "%s: %s\n", obj, sourcedep );
output( "\t$(SED_CMD) %s >$@ || ($(RM) $@ && false)\n", source->filename );
output( "%s:", obj );
More information about the wine-cvs
mailing list