diff options
author | Eric Hameleers <alien@slackware.com> | 2010-03-13 18:39:38 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2010-03-13 18:39:38 +0000 |
commit | 7fd96f0e7d6bbf43b5ed8c7741bdad5035539067 (patch) | |
tree | 05fd765fa63fb5b636250721d6d18c6da0ac7392 /pastebinit/build | |
parent | 3939c3174377b0222c097f9f79f2b042ba274c41 (diff) | |
download | asb-7fd96f0e7d6bbf43b5ed8c7741bdad5035539067.tar.gz asb-7fd96f0e7d6bbf43b5ed8c7741bdad5035539067.tar.xz |
Also generate a manpage
Diffstat (limited to 'pastebinit/build')
-rwxr-xr-x | pastebinit/build/pastebinit.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pastebinit/build/pastebinit.SlackBuild b/pastebinit/build/pastebinit.SlackBuild index aa459968..c8466293 100755 --- a/pastebinit/build/pastebinit.SlackBuild +++ b/pastebinit/build/pastebinit.SlackBuild @@ -30,7 +30,7 @@ # URL: http://www.stgraber.org/ # Needs: configobj # Changelog: -# 0.11-1: 13/Mar/2010 by Eric Hameleers <alien@slackware.com> +# 1.0-1: 13/Mar/2010 by Eric Hameleers <alien@slackware.com> # * Initial build. # # Run 'sh pastebinit.SlackBuild' to build a Slackware package. @@ -124,11 +124,17 @@ chown -R root:root . chmod -R u+w,go+r-w,a-s . echo Building ... +# Generate the language files: make -C po -install -d $PKG/{etc/pastebin.d,/usr/bin,/usr/share/locale} +# Generate the manpage: +xmlto --skip-validation man pastebinit.xml + +# Install the files: +install -d $PKG/{etc/pastebin.d,/usr/bin,/usr/share/locale,/usr/man/man1} install -p pastebinit $PKG/usr/bin/pastebinit cp -a pastebin.d/*.conf $PKG/etc/pastebin.d cp -a po/mo/* $PKG/usr/share/locale +gzip -9c pastebin.1 > $PKG/usr/man/man1/pastebin.1.gz # Add documentation: mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |