OSDN Git Service

coreutils: (Makefile) Copy generated pages to draft by default
authorAkihiro Motoki <amotoki@gmail.com>
Sat, 1 May 2021 02:18:16 +0000 (11:18 +0900)
committerAkihiro Motoki <amotoki@gmail.com>
Sat, 1 May 2021 02:23:58 +0000 (11:23 +0900)
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.

manual/GNU_coreutils/Makefile

index f760fb4..0441af8 100644 (file)
@@ -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
 
 #------------------------------------------------------------