only require help2man when really needed.

use tepache from doc/dev instead of relying on user's path settings.


git-svn-id: svn://svn.berlios.de/gpodder@31 b0d088ad-0a06-0410-aad2-9ed5178a7e87
This commit is contained in:
Thomas Perl 2006-02-05 07:47:11 +00:00
parent 1336548e4c
commit 349609ae97
5 changed files with 47 additions and 14 deletions

View File

@ -1,6 +1,6 @@
#
# gpodder makefile
# copyright 2005 thomas perl <thp@perli.net>
# copyright 2005-2006 thomas perl <thp@perli.net>
# released under the gnu gpl
#
@ -10,6 +10,7 @@ BINFILE=bin/gpodder
GLADEFILE=data/gpodder.glade
GUIFILE=src/gpodder/gpodder.py
MANPAGE=doc/man/gpodder.man.1
TEPACHE=./doc/dev/tepache
##########################################################################
@ -42,20 +43,20 @@ uninstall:
##########################################################################
generators: gen_manpage gen_glade
generators: $(MANPAGE) gen_glade
gen_manpage:
help2man -N ./bin/gpodder >$(MANPAGE)
$(MANPAGE): $(BINFILE)
help2man -N $(BINFILE) >$(MANPAGE)
gen_glade: $(GLADEFILE)
tepache --no-helper --glade=$(GLADEFILE) --output=$(GUIFILE)
$(TEPACHE) --no-helper --glade=$(GLADEFILE) --output=$(GUIFILE)
chmod -x $(GUIFILE) $(GUIFILE).orig
##########################################################################
clean:
python setup.py clean
rm -f src/gpodder/*.pyc src/gpodder/*.bak MANIFEST $(MANPAGE) PKG-INFO data/gpodder.gladep{,.bak} data/gpodder.glade.bak
rm -f src/gpodder/*.pyc src/gpodder/*.bak MANIFEST PKG-INFO data/gpodder.gladep{,.bak} data/gpodder.glade.bak
rm -rf build
distclean: clean

8
README
View File

@ -18,6 +18,7 @@
==================
Copyright (c) 2005-2006 Thomas Perl <thp@perli.net>
Version 0.5 released on 04.02.2006 under the GNU GPL
This version includes a patch from 05.02.2006.
@ -50,13 +51,8 @@
If you want to install gPodder from source, you have to
get the following packages:
apt-get install help2man python-setuptools
apt-get install help2man
Please also copy the "tepache" executable in "doc/dev/tepache"
somewhere into your $PATH so that the installation routine and
the makefile scripts can find and use that utility (it's necessary
for sketching code based on gladefiles).
=====================
3) How to run/install
=====================

36
doc/man/gpodder.man.1 Normal file
View File

@ -0,0 +1,36 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
.TH GPODDER "1" "February 2006" "gpodder 0.5 2006-02-04" "User Commands"
.SH NAME
gpodder \- manual page for gpodder 0.5 2006-02-04
.SH DESCRIPTION
usage: gpodder [options] arg1 arg2
.PP
gPodder Media Aggregator
.SS "options:"
.TP
\fB\-\-version\fR
show program's version number and exit
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-v\fR, \fB\-\-verbose\fR
print extra information
.TP
\fB\-\-debug\fR
run local version for debugging
.TP
\fB\-l\fR, \fB\-\-list\fR
list all channel subscriptions
.TP
\fB\-r\fR, \fB\-\-run\fR
update channels and download new podcasts
.TP
\fB\-u\fR, \fB\-\-update\fR
update channels
.TP
\fB\-aFEEDURL\fR, \fB\-\-add\fR=\fIFEEDURL\fR
add FEEDURL to channel subscriptions
.TP
\fB\-dn\fR, \fB\-\-delete\fR=\fIn\fR
delete channel n

View File

@ -3,7 +3,7 @@
# Python module src/gpodder/gpodder.py
# Autogenerated from gpodder.glade
# Generated on Sat Feb 4 19:27:56 2006
# Generated on Sun Feb 5 08:46:04 2006
# Warning: Do not modify any context comment such as #--
# They are required to keep user's code

View File

@ -3,7 +3,7 @@
# Python module src/gpodder/gpodder.py
# Autogenerated from gpodder.glade
# Generated on Sat Feb 4 19:27:56 2006
# Generated on Sun Feb 5 08:46:04 2006
# Warning: Do not modify any context comment such as #--
# They are required to keep user's code