pkg-get/Makefile
2006-07-13 05:02:00 +02:00

34 lines
987 B
Makefile

NAME=pkg-get
VERSION="0.4.5"
PREFIX=/usr
CFGDIR=/etc
all:
@echo "Use 'make install' to install pkg-get"
man:
makeman doc/pkg-get.8.txt
makeman doc/pkg-repgen.8.txt
man2ps doc/pkg-get.8 | ps2pdf14 - > doc/pkg-get.pdf
dist: man
rm -rf ${NAME}-${VERSION}
mkdir ${NAME}-${VERSION}
cp -r doc scripts Makefile ChangeLog COPYING README TODO ${NAME}-${VERSION}
rm -f ${NAME}-${VERSION}/doc/*.txt
rm -f ${NAME}-${VERSION}/doc/*.pdf
tar cvzf ${NAME}-${VERSION}.tar.gz ${NAME}-${VERSION}
rm -rf ${NAME}-${VERSION}
install:
install -D -m 755 scripts/pkg-get.pl ${PREFIX}/bin/pkg-get
install -D -m 755 scripts/pkg-repgen.pl ${PREFIX}/bin/pkg-repgen
install -D -m 755 scripts/pkg-get.pl ${PREFIX}/bin/pkg-get
install -D -m 644 doc/pkg-get.8 ${PREFIX}/man/man8/pkg-get.8
install -D -m 644 doc/pkg-get.conf ${CFGDIR}/pkg-get.conf
install -D -m 644 doc/pkg-repgen.8 ${PREFIX}/man/man8/pkg-repgen.8
install -D -m 644 doc/pkg-get.8 ${PREFIX}/man/man8/pkg-get.8