openbsd-ports/x11/i3bar/patches/patch-Makefile
dcoppa 526c63cf6b Import x11/i3bar.
i3bar is a xcb and libev based status and workspace bar for the
i3 window manager. It is best thought of as a replacement for the
i3-wsbar + dzen2 combination. It creates a workspace bar for every
active screen and displays a piped-in statusline rightaligned on
every bar.
It does not sample any status information itself, so you still need
a program like conky for that.

OK jasper@
2011-04-20 08:57:54 +00:00

37 lines
794 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2011/04/20 08:57:54 dcoppa Exp $
--- Makefile.orig Tue Apr 12 09:32:22 2011
+++ Makefile Tue Apr 12 09:36:06 2011
@@ -9,29 +9,23 @@ HEADERS:=$(wildcard include/*.h)
all: i3bar doc
i3bar: ${FILES}
- echo "LINK"
$(CC) -o i3bar ${FILES} ${LDFLAGS}
doc:
- echo ""
- echo "SUBDIR doc"
$(MAKE) -C doc
src/%.o: src/%.c ${HEADERS}
- echo "CC $<"
$(CC) $(CFLAGS) -c -o $@ $<
install: all
- echo "INSTALL"
- $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin
- $(INSTALL) -m 0755 i3bar $(DESTDIR)$(PREFIX)/bin
+ ${INSTALL_PROGRAM} i3bar $(DESTDIR)$(PREFIX)/bin/
clean:
rm -f src/*.o
- make -C doc clean
+ $(MAKE) -C doc clean
distclean: clean
rm -f i3bar
- make -C doc distclean
+ $(MAKE) -C doc distclean
.PHONY: install clean distclean doc