diff options
author | Simone Rota <simone@sip.local> | 2006-07-13 04:21:42 +0200 |
---|---|---|
committer | Simone Rota <simone@sip.local> | 2006-07-13 04:21:42 +0200 |
commit | 871478faf45ea92b1f4b93696f19fd323605a76b (patch) | |
tree | 465e6d55d54b5d8f175d62f8eff8bb773da3dc7a /Makefile | |
download | pkg-get-871478faf45ea92b1f4b93696f19fd323605a76b.tar.gz pkg-get-871478faf45ea92b1f4b93696f19fd323605a76b.tar.xz |
Initial import
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1b02d9e --- /dev/null +++ b/Makefile @@ -0,0 +1,33 @@ +NAME=pkg-get +VERSION="0.4.4" + +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 + |