Newer
Older
VERS=$(shell irkerd -V | sed 's/irkerd version //')
docs: irkerd.html irkerd.8 irkerhook.html irkerhook.1
xmlto man irkerd.xml
irkerd.html: irkerd.xml
xmlto html-nochunks irkerd.xml
irkerhook.1: irkerhook.xml
xmlto man irkerhook.xml
irkerhook.html: irkerhook.xml
xmlto html-nochunks irkerhook.xml
install: irkerd.8 irkerhook.1 uninstall
install -m 755 -o 0 -g 0 -d $(ROOT)/usr/share/man/man1/
install -m 755 -o 0 -g 0 irkerd.8 $(ROOT)/usr/share/man/man1/irkerd.8
install -m 755 -o 0 -g 0 -d $(ROOT)/usr/share/man/man8/
install -m 755 -o 0 -g 0 irkerd.8 $(ROOT)/usr/share/man/man1/irkerhook.1
rm -f ${ROOT}/usr/bin/irkerd
rm -f ${ROOT}/usr/share/man/man1/irkerd.8
rm -f ${ROOT}/usr/share/man/man1/irkerhook.1
rm -f irkerd.8 irker-*.tar.gz *~
PYLINTOPTS = --rcfile=/dev/null --reports=n --include-ids=y --disable="C0103,C0111,C0301,R0201,R0902,R0903,R0912,E1101,W0201,W0621,W0702"
@pylint --output-format=parseable $(PYLINTOPTS) irkerhook.py
SOURCES = README COPYING NEWS BUGS install.txt security.txt \
irkerd irkerhook.py Makefile irkerd.xml irkerhook.xml irker-logo.png
irker-$(VERS).tar.gz: $(SOURCES) irkerd.8 irkerhook.1
tar --transform='s:^:irker-$(VERS)/:' --show-transformed-names -cvzf irker-$(VERS).tar.gz $(SOURCES)
release: irker-$(VERS).tar.gz irkerd.html irkerhook.html