2005-11-21 19:21:25 +01:00
|
|
|
#
|
|
|
|
# gpodder makefile
|
|
|
|
# copyright 2005 thomas perl <thp@perli.net>
|
|
|
|
# released under the gnu gpl
|
|
|
|
#
|
|
|
|
|
|
|
|
##########################################################################
|
|
|
|
|
|
|
|
BINFILE=bin/gpodder
|
|
|
|
GLADEFILE=data/gpodder.glade
|
|
|
|
GUIFILE=src/gpodder/gpodder.py
|
|
|
|
MANPAGE=doc/man/gpodder.man.1
|
|
|
|
|
|
|
|
##########################################################################
|
|
|
|
|
2005-11-21 21:09:52 +01:00
|
|
|
all:
|
2005-11-21 19:21:25 +01:00
|
|
|
|
|
|
|
##########################################################################
|
|
|
|
|
2005-11-21 21:09:52 +01:00
|
|
|
test:
|
2005-11-21 19:21:25 +01:00
|
|
|
$(BINFILE) --debug
|
|
|
|
|
2005-11-22 14:57:08 +01:00
|
|
|
deb:
|
|
|
|
@echo "##########################################################################"
|
|
|
|
@echo "# This is still alpha, see doc/dev/debian.txt for more info. #"
|
|
|
|
@echo "##########################################################################"
|
|
|
|
python setup.py bdist_deb --maintainer "Peter Hoffmann <tosh@cs.tu-berlin.de>" --extra-depends "python-gtk2, python-glade2, python-xml, wget"
|
|
|
|
|
2005-11-21 19:21:25 +01:00
|
|
|
release: generators
|
|
|
|
python setup.py sdist
|
|
|
|
|
|
|
|
install: generators
|
|
|
|
python setup.py install
|
|
|
|
|
|
|
|
##########################################################################
|
|
|
|
|
|
|
|
generators: gen_manpage gen_glade
|
|
|
|
|
|
|
|
gen_manpage:
|
|
|
|
help2man -N ./bin/gpodder >$(MANPAGE)
|
|
|
|
|
|
|
|
gen_glade: $(GLADEFILE)
|
|
|
|
tepache --no-helper --glade=$(GLADEFILE) --output=$(GUIFILE)
|
|
|
|
chmod -x $(GUIFILE) $(GUIFILE).orig
|
|
|
|
|
|
|
|
##########################################################################
|
|
|
|
|
|
|
|
clean:
|
|
|
|
python setup.py clean
|
2005-11-22 23:04:58 +01:00
|
|
|
rm -f src/gpodder/*.pyc src/gpodder/*.bak MANIFEST $(MANPAGE) PKG-INFO data/gpodder.gladep{,.bak} data/gpodder.glade.bak
|
2005-11-21 19:21:25 +01:00
|
|
|
rm -rf build
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -rf dist
|
|
|
|
|
|
|
|
##########################################################################
|
|
|
|
|
|
|
|
.PHONY: all test release install generators gen_manpage gen_glade clean distclean
|
|
|
|
|
|
|
|
##########################################################################
|
|
|
|
|
|
|
|
|