Closed dmacks closed 2 years ago
Building latex-1.3.1.1 on OS X fails during the various 'make install...' recipes, for example:
make install-man INSTALLMANPATH=/sw/build.build/root-latexdiff-1.3.1.1-1/sw/share/man install -m 644 -D -t /sw/build.build/root-latexdiff-1.3.1.1-1/sw/share/man/man1 latexrevise.1 latexdiff.1 latexdiff-vc.1 install: illegal option -- D usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... make: *** [Makefile:29: install-man] Error 64
Apple's BSDish install does not support the -D or -t flags. To improve portability, use a separate mkdir -p command, and use the pattern install [filenames] [directory] instead of an explicit directory flag earlier in the command.
install
-D
-t
mkdir -p
install [filenames] [directory]
See for example the bulk of our patch in fink: https://github.com/fink/fink-distributions/blob/b9153215a0e309388a9d31cd93b350f1ba176d8f/10.9-libcxx/stable/main/finkinfo/text/latexdiff.patch
Building latex-1.3.1.1 on OS X fails during the various 'make install...' recipes, for example:
Apple's BSDish
install
does not support the-D
or-t
flags. To improve portability, use a separatemkdir -p
command, and use the patterninstall [filenames] [directory]
instead of an explicit directory flag earlier in the command.