Allow staging as a regular user

This commit is contained in:
Antoine Brodin 2014-09-08 18:35:14 +00:00
parent c54db02b17
commit c540d4cbb9

View file

@ -7,9 +7,9 @@
- install -o root -g wheel -m 444 $(FILES) $(FILESDIR)
- install -C -o root -g wheel -m 444 $(INCS) $(INCLUDEDIR)
- install -o root -g wheel -m 444 $(COMPRESSED_MAN) $(MANDIR)3
+ install -o root -g wheel -m 444 $(FILES) $(DESTDIR)$(FILESDIR)
+ install -C -o root -g wheel -m 444 $(INCS) $(DESTDIR)$(INCLUDEDIR)
+ install -o root -g wheel -m 444 $(COMPRESSED_MAN) $(DESTDIR)$(MANDIR)3
+ $(BSD_INSTALL_DATA) $(FILES) $(DESTDIR)$(FILESDIR)
+ $(BSD_INSTALL_DATA) $(INCS) $(DESTDIR)$(INCLUDEDIR)
+ $(BSD_INSTALL_MAN) $(COMPRESSED_MAN) $(DESTDIR)$(MANDIR)3
$(FILESDIR):
- mkdir $(FILESDIR)