mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
3a34d8cb4f
When using the install-sh that ships with the source tree, Autoconf substitutes in a relative path just to be annoying. Define the INSTALL variables in each individual Makefile so that they find the proper file. Remove the definitions from Makefile.config so that no one will accidentally get the wrong ones.
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Makefile for AFS man pages
|
|
|
|
srcdir=@srcdir@
|
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
|
INSTALL = @INSTALL@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
all:
|
|
|
|
maintclean:
|
|
rm -rf html man1 man5 man8
|
|
|
|
html:
|
|
perl generate-html
|
|
|
|
dest:
|
|
chmod +x install-man
|
|
mkdir -p $(DEST)/man/man1 $(DEST)/man/man5 $(DEST)/man/man8
|
|
set -e; cd man1 && for M in *.1 ; do \
|
|
../install-man $$M $(DEST)/man/man1/$$M ; \
|
|
done
|
|
set -e; cd man5 && for M in *.5 ; do \
|
|
../install-man $$M $(DEST)/man/man5/$$M ; \
|
|
done
|
|
set -e; cd man8 && for M in *.8 ; do \
|
|
../install-man $$M $(DEST)/man/man8/$$M ; \
|
|
done
|
|
|
|
install: $(MAN1) $(MAN8)
|
|
chmod +x install-man
|
|
mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 \
|
|
$(DESTDIR)$(mandir)/man8
|
|
set -e; cd man1 && for M in *.1 ; do \
|
|
../install-man $$M $(DESTDIR)$(mandir)/man1/$$M ; \
|
|
done
|
|
set -e; cd man5 && for M in *.5 ; do \
|
|
../install-man $$M $(DESTDIR)$(mandir)/man5/$$M ; \
|
|
done
|
|
set -e; cd man8 && for M in *.8 ; do \
|
|
../install-man $$M $(DESTDIR)$(mandir)/man8/$$M ; \
|
|
done
|