summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-07-30 21:23:53 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-07-30 21:23:53 (GMT)
commit5dcc71b489e17fba169a50b82b08191b72e643de (patch)
tree044da7b13d52f3fe40379e420b2962fce9f8ea2f /Makefile.in
parent8e11f48162bb19fdfc9794f090b2ab658884769c (diff)
Change the way the compressed man page is built/installed.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 1eb3210..d6ed8f4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -18,7 +18,7 @@ MAKE := $(shell which $(MAKE) || type -p $(MAKE) || echo /usr/bin/make)
###############################################################################
# Global make rules
-build: build-bin build-lib build-doc
+build: build-bin build-lib build-man
install: install-local-test build install-bin install-lib install-doc install-man
@@ -40,7 +40,11 @@ build-bin: ct-ng
build-lib:
-build-doc: docs/ct-ng.1
+build-man: docs/ct-ng.1.gz
+
+docs/ct-ng.1.gz: docs/ct-ng.1
+ @echo " GZIP $@"
+ @gzip -f9 $<
%: %.in
@echo " SED $@"
@@ -107,9 +111,8 @@ install-doc: install-local-test $(DOCDIR)
done
install-man: install-local-test $(MANDIR)
- @echo " INST ct-ng.1"
- @install -m 644 docs/ct-ng.1 $(MANDIR)
- @gzip -f9 $(MANDIR)/ct-ng.1
+ @echo " INST ct-ng.1.gz"
+ @install -m 644 docs/ct-ng.1.gz $(MANDIR)
$(BINDIR) $(LIBDIR) $(DOCDIR) $(MANDIR)::
@echo " MKDIR $@"