mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
676 B

  1. --- ./Makefile.orig 2004-08-06 22:29:09.403635888 +0200
  2. +++ ./Makefile 2004-08-06 22:29:58.195218440 +0200
  3. @@ -5,6 +5,8 @@
  4. CFLAGS = -g -O2 -Wall -fomit-frame-pointer
  5. LDFLAGS =
  6. +PREFIX = /usr/local
  7. +
  8. SRC = iostat.c
  9. BIN = iostat
  10. @@ -14,9 +16,9 @@
  11. $(CC) $(CFLAGS) $(SRC) -o $@ $(LDFLAGS)
  12. install: $(BIN)
  13. - install -d /usr/local/bin /usr/local/man/man8
  14. - install -o root -g root -m 755 -s iostat /usr/local/bin
  15. - install -o root -g root -m 644 iostat.8 /usr/local/man/man8
  16. + install -d $(PREFIX)/bin $(PREFIX)/man/man8
  17. + install -o root -g root -m 755 -s iostat $(PREFIX)/bin
  18. + install -o root -g root -m 644 iostat.8 $(PREFIX)/man/man8
  19. clean:
  20. rm -f $(BIN) core