d40b897cb0
This version adds a new '-t' and '-T' switches to specify the time format.
24 lines
658 B
Plaintext
24 lines
658 B
Plaintext
$OpenBSD: patch-Makefile,v 1.3 2011/01/18 19:04:22 ajacoutot Exp $
|
|
--- Makefile.orig Tue Aug 3 19:04:34 2010
|
|
+++ Makefile Tue Jan 18 19:58:58 2011
|
|
@@ -1,6 +1,6 @@
|
|
# install locations
|
|
-BINDIR=/usr/local/bin
|
|
-MANDIR=/usr/local/man/man1
|
|
+BINDIR=${PREFIX}/bin
|
|
+MANDIR=${PREFIX}/man/man1
|
|
|
|
# build flags
|
|
CC?=/usr/bin/cc
|
|
@@ -16,8 +16,8 @@ xstatbar: $(OBJS)
|
|
$(CC) $(CFLAGS) $<
|
|
|
|
install: xstatbar
|
|
- /usr/bin/install -c -m 0555 xstatbar $(BINDIR)
|
|
- /usr/bin/install -c -m 0444 xstatbar.1 $(MANDIR)
|
|
+ /usr/bin/install -c -m 0555 xstatbar $(DESTDIR)$(BINDIR)
|
|
+ /usr/bin/install -c -m 0444 xstatbar.1 $(DESTDIR)$(MANDIR)
|
|
|
|
uninstall:
|
|
rm -f $(BINDIR)/xstatbar
|