List "make install" files explicitly and use install tool
* Previously, "make tests install" would also copy trivial_test.exe and trivial_test.d to /usr/local/bin. * The `install` tool seems to be the conventional way of installing files. Setting permissions when copying to /usr/local/bin seems like a good idea. * Invoke install with -s to strip the symbol tables when they're installed.
This commit is contained in:
parent
1ddff08321
commit
4fbda64b7e
5
Makefile
5
Makefile
@ -31,7 +31,10 @@ tests :
|
||||
|
||||
install : all
|
||||
mkdir -p $(PREFIX)/bin
|
||||
cp build/* $(PREFIX)/bin
|
||||
install -m 755 -p -s build/console.exe $(PREFIX)/bin
|
||||
install -m 755 -p -s build/winpty.dll $(PREFIX)/bin
|
||||
install -m 755 -p -s build/winpty-agent.exe $(PREFIX)/bin
|
||||
install -m 755 -p -s build/winpty-debugserver.exe $(PREFIX)/bin
|
||||
|
||||
clean :
|
||||
cd agent && $(MAKE) clean
|
||||
|
Loading…
Reference in New Issue
Block a user