Advertisement
keiaa070500

generic script makefile

Dec 7th, 2024 (edited)
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.22 KB | Source Code | 0 0
  1. PREFIX = /usr/bin
  2.  
  3. all:
  4.     @echo Run \'make install\' to install <description>.
  5.  
  6. install:
  7.     @mkdir -p $(PREFIX)
  8.     @cp -p <script>.sh $(PREFIX)/<script>
  9.     @chmod 755 $(PREFIX)/<script>
  10.  
  11. uninstall:
  12.     @rm -rf $(PREFIX)/<script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement