Makefile, includes publish target to scp it to the LDP.

This commit is contained in:
david 2002-09-05 07:12:54 +00:00
parent 6137a143c5
commit 30d2bddcfe
2 changed files with 57 additions and 9 deletions

36
LDP/wt2db/doc/Makefile Normal file
View File

@ -0,0 +1,36 @@
MAN_DIR = $(DESTDIR)/usr/share/man/man1
DOC_DIR = /usr/share/doc/wt2db
INSTALLDIR = install -d
INSTALLDOC = install -p -m 644
all: build
build: man html
man: wt2db.1
html: wt2db.html
wt2db.1: wt2db.pod
pod2man wt2db.pod wt2db.1
wt2db.html: wt2db.pod
pod2html --title="wt2db" wt2db.pod > wt2db.html
install: all
$(INSTALLDIR) $(MAN_DIR)
$(INSTALLDOC) wt2db.1 $(MAN_DIR)/wt2db.1
$(INSTALLDIR) $(DOC_DIR)
$(INSTALLDOC) wt2db.html $(DOC_DIR)/wt2db.html
# Publishes the documentation on the official LDP homepage for wt2db.
# You *do* have to enter the password to publish it.
publish: html
scp wt2db.html dmerrill@login.ibiblio.org:/export/sunsite/users/dmerrill/LDP/wt2db/index.html
clean:
rm -f wt2db.1
rm -f wt2db.html
rm -f pod2htmd.x~~
rm -f pod2htmi.x~~

View File

@ -39,10 +39,19 @@ B<-V>, B<--version> show program version.
B<-h>, B<--help> show a usage message.
=head1 NOTES
=head1 HISTORY
B<wt2db> was developed to provide an easier way to write
DocBook documentation.
B<wt2db> was originally developed to convert articles from the
Wikipedia into DocBook for republishing at the LDP.
As development proceeded, I realized that it could be used
to provide an easier way to write DocBook documentation.
Currently, B<wt2db> is being built into the Lampadas Documentation
Management System as its "native" format. See http://www.lampadas.org
for more information on Lampadas.
=head1 NOTES
WikiText is based on the form of text that is used in a
WikiWikiWeb. It provides very simple and easy to remember
@ -175,19 +184,22 @@ paragraph breaks will be generated.
=head1 RESTRICTIONS
Currently only a single form of WikiText is supported, which is very
similar to that used by the Wikipedia (see http://www.wikipedia.com).
similar to that used by the Wikipedia. See http://www.wikipedia.com for
more information on the Wikipedia.
A future release will be configurable to support additional styles of
WikiText.
=head1 BUGS
Bugs are tracked in the SourceForge project page at:
Bugs are tracked along with Lampadas bugs in the Gnome Bugzilla
repository.
If you report a bug in B<wt2db>, specify lampadas as the product
and wt2db as the component, so it will be routed the appropriate person.
You can do this quickly by visiting the following URL:
http://www.sourceforge.net/projects/linuxdoc
If you report a bug in B<wt2db>, specify wt2db as the category so it will
be routed the appropriate person.
http://bugzilla.gnome.org/enter_bug.cgi?product=lampadas&component=wt2db
=head1 SEE ALSO