From: Akihiro Motoki Date: Sat, 1 May 2021 02:18:16 +0000 (+0900) Subject: coreutils: (Makefile) Copy generated pages to draft by default X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1708dd45fe99e6b06c4ef30a5efde7e8d12a047c;p=linuxjm%2Fjm.git coreutils: (Makefile) Copy generated pages to draft by default Previously, when running 'make', manpages were generated in help2man.ja directory but these files are not tracked by git. It would be nice if we can see all changes you make by git. This commit changes to call 'make instal' by default. 'setup' target is also added as a synonym for 'source' target. LDP man-pages directory uses 'make setup' for preparation. It is nice if we can use consistent target names as it is easy to understand. .PHONY targets are also declared now. --- diff --git a/manual/GNU_coreutils/Makefile b/manual/GNU_coreutils/Makefile index f760fb4a..0441af84 100644 --- a/manual/GNU_coreutils/Makefile +++ b/manual/GNU_coreutils/Makefile @@ -11,7 +11,10 @@ PACKAGE_NAME = GNU $(NAME) PACKAGE_VERSION = $(V) PACKAGE_STRING = $(PACKAGE_NAME) $(PACKAGE_VERSION) -all: build-man +.PHONY: all setup source build-man tarball catalog clean clean-build clean-setup realclean + +all: install +setup: source source: stamp-build #------------------------------------------------------------