openbsd-ports/x11/i3/patches/patch-i3-msg_Makefile
landry 620da9e954 Import (really, this time) i3 3.c, from MAINTAINER Baptiste Daroussin,
with tweaks by me.

i3 is an improved dynamic, tiling window manager.

note: It is still young, so some debug options are still enable by
default, and it's a bit verbose.

ok ajacoutot@
2009-09-02 19:26:17 +00:00

24 lines
650 B
Plaintext

$OpenBSD: patch-i3-msg_Makefile,v 1.1.1.1 2009/09/02 19:26:17 landry Exp $
--- i3-msg/Makefile.orig Wed Aug 19 14:39:09 2009
+++ i3-msg/Makefile Mon Aug 31 20:33:37 2009
@@ -9,17 +9,14 @@ HEADERS=$(wildcard *.h)
# Depend on the specific file (.c for each .o) and on all headers
%.o: %.c ${HEADERS}
- echo "CC $<"
$(CC) $(CFLAGS) -c -o $@ $<
all: ${FILES}
- echo "LINK i3-msg"
$(CC) -o i3-msg ${FILES} $(LDFLAGS)
install: all
- echo "INSTALL"
- $(INSTALL) -d -m 0755 $(DESTDIR)/usr/bin
- $(INSTALL) -m 0755 i3-msg $(DESTDIR)/usr/bin/
+ $(INSTALL) -d -m 0755 $(PREFIX)/bin
+ $(INSTALL) -m 0755 i3-msg $(PREFIX)/bin/
clean:
rm -f *.o