mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Add support for a DESTDIR variable in the Unix makefile to set the root of the
installation tree (for building packages etc). [originally from svn r3433]
This commit is contained in:
parent
eebc7529ed
commit
f68c785aa4
@ -586,8 +586,8 @@ print
|
||||
"\trm -f *.o". (join "", map { " $_" } &progrealnames("XU")) . "\n".
|
||||
"\n",
|
||||
"install:\n",
|
||||
map("\t\$(INSTALL_PROGRAM) -m 755 $_ \$(bindir)/$_\n", &progrealnames("XU")),
|
||||
map("\t\$(INSTALL_DATA) -m 644 $_ \$(man1dir)/$_\n", &manpages("XU", "1")),
|
||||
map("\t\$(INSTALL_PROGRAM) -m 755 $_ \$(DESTDIR)\$(bindir)/$_\n", &progrealnames("XU")),
|
||||
map("\t\$(INSTALL_DATA) -m 644 $_ \$(DESTDIR)\$(man1dir)/$_\n", &manpages("XU", "1")),
|
||||
"\n",
|
||||
"install-strip:\n",
|
||||
"\t\$(MAKE) install INSTALL_PROGRAM=\"\$(INSTALL_PROGRAM) -s\"\n",
|
||||
|
Loading…
Reference in New Issue
Block a user