pkg-get/Makefile
John McQuah 252c46d87e update Makefile and man-pages
update TODO and README

pkg-get: add missing test in search()
2023-06-21 22:30:25 -04:00

28 lines
744 B
Makefile

NAME=pkg-get
VERSION="0.4.8"
PREFIX=/usr
CFGDIR=/etc
MANDIR=/usr/share/man
all:
@echo "Use 'make install' to install pkg-get"
dist:
rm -rf ${NAME}-${VERSION}
mkdir -p ${NAME}-${VERSION}/doc
cp -r scripts Makefile ChangeLog COPYING README TODO ${NAME}-${VERSION}
cp doc/*.8 ${NAME}-${VERSION}/doc
cp doc/*.conf ${NAME}-${VERSION}/doc
tar cvzf ${NAME}-${VERSION}.tar.gz ${NAME}-${VERSION}
rm -rf ${NAME}-${VERSION}
install:
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-repgen.8 ${MANDIR}/man8/pkg-repgen.8
install -D -m 644 doc/pkg-get.8 ${MANDIR}/man8/pkg-get.8
install -D -m 644 doc/pkg-get.conf ${CFGDIR}/pkg-get.conf