indent: fix empty manpage; revbump
This commit is contained in:
parent
7e16091e9d
commit
711382eded
1 changed files with 8 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'indent'
|
# Template file for 'indent'
|
||||||
pkgname=indent
|
pkgname=indent
|
||||||
version=2.2.10
|
version=2.2.10
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--docdir=/usr/share/doc/indent"
|
configure_args="--docdir=/usr/share/doc/indent"
|
||||||
short_desc="indent can be used to make code easier to read"
|
short_desc="indent can be used to make code easier to read"
|
||||||
|
@ -15,6 +15,13 @@ pre_configure() {
|
||||||
sed -i 's#^docdir = .*$#docdir = @docdir@#' doc/Makefile.in
|
sed -i 's#^docdir = .*$#docdir = @docdir@#' doc/Makefile.in
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_build() {
|
||||||
|
# manpages are not created properly, so recreate it
|
||||||
|
cd man
|
||||||
|
rm indent.1
|
||||||
|
make CC=cc clean all
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm $DESTDIR/usr/bin/texinfo2man
|
rm $DESTDIR/usr/bin/texinfo2man
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue