Skip to content

Commit

Permalink
Don't specify a user or group during "make install".
Browse files Browse the repository at this point in the history
This makes it possible to install bup as a normal user.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
  • Loading branch information
rlbdv authored and apenwarr committed Jul 26, 2010
1 parent 6d120e9 commit 8a52582
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Makefile
Expand Up @@ -36,24 +36,24 @@ install: all
$(LIBDIR)/bup $(LIBDIR)/cmd $(LIBDIR)/tornado \
$(LIBDIR)/web
[ ! -e Documentation/.docs-available ] || \
$(INSTALL) -o 0 -g 0 -m 0644 \
$(INSTALL) -m 0644 \
$(wildcard Documentation/*.1) \
$(MANDIR)/man1
[ ! -e Documentation/.docs-available ] || \
$(INSTALL) -o 0 -g 0 -m 0644 \
$(INSTALL) -m 0644 \
$(wildcard Documentation/*.html) \
$(DOCDIR)
$(INSTALL) -o 0 -g 0 -m 0755 bup $(BINDIR)
$(INSTALL) -o 0 -g 0 -m 0755 \
$(INSTALL) -m 0755 bup $(BINDIR)
$(INSTALL) -m 0755 \
$(wildcard cmd/bup-*) \
$(LIBDIR)/cmd
$(INSTALL) -o 0 -g 0 -m 0644 \
$(INSTALL) -m 0644 \
$(wildcard lib/bup/*.so lib/bup/*.py) \
$(LIBDIR)/bup
$(INSTALL) -o 0 -g 0 -m 0644 \
$(INSTALL) -m 0644 \
$(wildcard lib/tornado/*.py) \
$(LIBDIR)/tornado
$(INSTALL) -o 0 -g 0 -m 0644 \
$(INSTALL) -m 0644 \
$(wildcard lib/web/*) \
$(LIBDIR)/web
%/all:
Expand Down Expand Up @@ -87,6 +87,8 @@ stupid:
test: all
./wvtestrun $(MAKE) PYTHON=$(PYTHON) runtests

check: test

%: %.o
$(CC) $(CFLAGS) (LDFLAGS) -o $@ $^ $(LIBS)

Expand Down

0 comments on commit 8a52582

Please sign in to comment.