Makefile
This commit is contained in:
parent
ed0223dc8b
commit
2d102f04d7
16
Makefile
Executable file
16
Makefile
Executable file
|
@ -0,0 +1,16 @@
|
|||
###################
|
||||
# Install freqcpu #
|
||||
###################
|
||||
|
||||
PREFIX=/usr
|
||||
|
||||
install:
|
||||
cp -rf freqcpu $(PREFIX)/bin/
|
||||
chmod +x $(PREFIX)/bin/freqcpu
|
||||
cp -rf freqcpu.1 $(PREFIX)/share/man/man1/
|
||||
cp -rf freqcpu.service /etc/systemd/system/
|
||||
|
||||
uninstall:
|
||||
rm -rf $(PREFIX)/bin/freqcpu
|
||||
rm -rf $(PREFIX)/share/man/man1/freqcpu.1
|
||||
rm -rf /etc/systemd/system/freqcpu.service
|
Loading…
Reference in New Issue
Block a user