code_junkie

What are the other uses of the “make” command?

Nov 11th, 2011
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. POSTMAP=/usr/sbin/postmap
  2. POSTFIX=/usr/sbin/postfix
  3.  
  4. HASHES=transport access virtual canonical relocated annoying_senders
  5. BTREES=clients_welcome
  6.  
  7. HASHES_DB=${HASHES:=.db}
  8. BTREES_DB=${BTREES:=.db}
  9.  
  10. all: ${BTREES_DB} ${HASHES_DB} aliases.db
  11. echo = Done
  12.  
  13. ${HASHES_DB}: %.db: %
  14. echo . Rebuilding $< hash...
  15. ${POSTMAP} $<
  16.  
  17. ${BTREES_DB}: %.db: %
  18. echo . Rebuilding $< btree...
  19. ${POSTMAP} $<
  20.  
  21. aliases.db: aliases
  22. echo . Rebuilding aliases...
  23. /usr/bin/newaliases
Add Comment
Please, Sign In to add comment