Commits
Marcus Calhoun-Lopez authored 4a1cc9822ff
1 1 | # -*- mode: makefile -*- |
2 2 | |
3 3 | INSTALL=/usr/bin/install |
4 4 | DCOPY=/bin/cp -R |
5 5 | |
6 6 | install: |
7 + | # bash-completion |
8 + | $(INSTALL) -d -m 755 $(DESTDIR)$(PREFIX)/share/bash-completion/completions |
9 + | $(INSTALL) -m 644 scripts/bash-completion/dub.bash $(DESTDIR)$(PREFIX)/share/bash-completion/completions |
7 10 | # bin |
8 11 | for f in dub; do \ |
9 12 | $(INSTALL) -m 755 bin/$$f $(DESTDIR)$(PREFIX)/bin; \ |
10 13 | done |
14 + | # examples |
15 + | $(INSTALL) -d -m 755 $(DESTDIR)$(PREFIX)/share/dub |
16 + | $(DCOPY) examples $(DESTDIR)$(PREFIX)/share/dub |