mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-29 15:44:03 +00:00
Change the way the compressed man page is built/installed.
This commit is contained in:
parent
8e11f48162
commit
5dcc71b489
13
Makefile.in
13
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 $@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user