Last change
on this file since 17f057d was
4af3050,
checked in by Wilmer van der Gaast <wilmer@…>, at 2010-05-25T22:41:52Z
|
install-* targets should also work now. Let's see how this works out in a deb.
|
-
Property mode set to
100644
|
File size:
555 bytes
|
Line | |
---|
1 | -include ../Makefile.settings |
---|
2 | ifdef SRCDIR |
---|
3 | SRCDIR := $(SRCDIR)doc/ |
---|
4 | endif |
---|
5 | |
---|
6 | all: |
---|
7 | # Only build the docs if this is a bzr checkout |
---|
8 | test ! -d ../.bzr || $(MAKE) -C user-guide |
---|
9 | |
---|
10 | install: |
---|
11 | mkdir -p $(DESTDIR)$(MANDIR)/man8/ $(DESTDIR)$(MANDIR)/man5/ |
---|
12 | install -m 0644 $(SRCDIR)bitlbee.8 $(DESTDIR)$(MANDIR)/man8/ |
---|
13 | install -m 0644 $(SRCDIR)bitlbee.conf.5 $(DESTDIR)$(MANDIR)/man5/ |
---|
14 | $(MAKE) -C user-guide $@ |
---|
15 | |
---|
16 | uninstall: |
---|
17 | rm -f $(DESTDIR)$(MANDIR)/man8/bitlbee.8* |
---|
18 | rm -f $(DESTDIR)$(MANDIR)/man5/bitlbee.conf.5* |
---|
19 | $(MAKE) -C user-guide $@ |
---|
20 | |
---|
21 | .PHONY: install uninstall |
---|
Note: See
TracBrowser
for help on using the repository browser.