sshfs-mapper: Added documentation generation.
git-svn-id: https://websvn.glenux.net/svn/Upoc/sshfs-mapper/trunk@1661 eaee96b3-f302-0410-b096-c6cfd47f7835
This commit is contained in:
parent
22fae53132
commit
c5b81f32ec
1 changed files with 25 additions and 0 deletions
25
Makefile
25
Makefile
|
@ -4,12 +4,37 @@ BINDIR=$(DESTDIR)/usr/bin
|
||||||
MANDIR=$(DESTDIR)/usr/share/man
|
MANDIR=$(DESTDIR)/usr/share/man
|
||||||
DOCDIR=$(DESTDIR)/usr/share/doc/sshfs-mapper
|
DOCDIR=$(DESTDIR)/usr/share/doc/sshfs-mapper
|
||||||
|
|
||||||
|
RUBYVERSION=1.8
|
||||||
|
RDOC=rdoc$(RUBYVERSION)
|
||||||
|
|
||||||
all:
|
all:
|
||||||
$(MAKE) -C sshfs-mapper
|
$(MAKE) -C sshfs-mapper
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C sshfs-mapper clean
|
$(MAKE) -C sshfs-mapper clean
|
||||||
|
|
||||||
|
doc: build-doc
|
||||||
|
|
||||||
|
.PHONY: build-doc
|
||||||
|
|
||||||
|
build-doc:
|
||||||
|
rm -fr doc
|
||||||
|
$(RDOC) \
|
||||||
|
--promiscuous \
|
||||||
|
--inline-source \
|
||||||
|
--line-numbers \
|
||||||
|
-o doc sshfs-mapper/ \
|
||||||
|
sshfs-mapper.rb
|
||||||
|
# --diagram
|
||||||
|
#
|
||||||
|
|
||||||
|
install-doc:
|
||||||
|
# # install documentation
|
||||||
|
rm -fr $(DOCDIR)
|
||||||
|
mkdir -p $(DOCDIR)
|
||||||
|
cp -a doc $(DOCDIR)
|
||||||
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
mkdir -p $(BINDIR)
|
mkdir -p $(BINDIR)
|
||||||
mkdir -p $(MANDIR)/man1
|
mkdir -p $(MANDIR)/man1
|
||||||
|
|
Loading…
Reference in a new issue