5d3ac3f26c
Error: weird mode for /usr/local/man/man1/i3.1: 4444
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
$OpenBSD: patch-Makefile,v 1.2 2009/09/02 20:05:34 bernd Exp $
|
|
--- Makefile.orig Wed Aug 19 14:39:09 2009
|
|
+++ Makefile Wed Sep 2 21:23:16 2009
|
|
@@ -8,24 +8,20 @@ HEADERS=$(wildcard include/*.h)
|
|
|
|
# Depend on the specific file (.c for each .o) and on all headers
|
|
src/%.o: src/%.c ${HEADERS}
|
|
- echo "CC $<"
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
all: ${FILES}
|
|
- echo "LINK i3"
|
|
$(CC) -o i3 ${FILES} $(LDFLAGS)
|
|
- echo ""
|
|
- echo "SUBDIR i3-msg"
|
|
$(MAKE) TOPDIR=$(TOPDIR) -C i3-msg
|
|
|
|
install: all
|
|
- echo "INSTALL"
|
|
- $(INSTALL) -d -m 0755 $(DESTDIR)/usr/bin
|
|
- $(INSTALL) -d -m 0755 $(DESTDIR)/etc/i3
|
|
- $(INSTALL) -d -m 0755 $(DESTDIR)/usr/share/xsessions
|
|
- $(INSTALL) -m 0755 i3 $(DESTDIR)/usr/bin/
|
|
- test -e $(DESTDIR)/etc/i3/config || $(INSTALL) -m 0644 i3.config $(DESTDIR)/etc/i3/config
|
|
- $(INSTALL) -m 0644 i3.desktop $(DESTDIR)/usr/share/xsessions/
|
|
+ $(INSTALL) -d -m 0755 $(PREFIX)/bin
|
|
+ $(INSTALL) -d -m 0755 $(PREFIX)/share/examples/i3
|
|
+ $(INSTALL) -d -m 0755 $(PREFIX)/share/xsessions
|
|
+ $(INSTALL) -m 0755 i3 $(PREFIX)/bin/
|
|
+ $(INSTALL) -m 0444 man/i3.1 $(PREFIX)/man/man1/
|
|
+ test -e $(PREFIX)/etc/i3/config || $(INSTALL) -m 0644 i3.config $(PREFIX)/share/examples/i3/config
|
|
+ $(INSTALL) -m 0644 i3.desktop $(PREFIX)/share/xsessions/
|
|
$(MAKE) TOPDIR=$(TOPDIR) -C i3-msg install
|
|
|
|
dist: distclean
|