Merge branch 'mirbsd'
[alioth/cvs.git] / debian / rules
index db96fb0..1deadaf 100755 (executable)
@@ -40,11 +40,6 @@ CONFIGURE_ENV+=              CPPFLAGS='${CPPFLAGS}'
 CONFIGURE_ENV+=                LDFLAGS='${LDFLAGS}'
 endif
 
-ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-NUMJOBS=               $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-MAKEFLAGS+=            -j${NUMJOBS}
-endif
-
 LIBS+=                 -lbsd
 
 CONFIGURE_ENV+=                LIBS='${LIBS}'
@@ -98,6 +93,12 @@ debian/.configure_stamp:
        mkdir debian/builddir debian/stagedir
        cd debian/builddir && \
            env ${CONFIGURE_ENV} sh ../../configure ${CONFIGURE_ARGS}
+       # generate PDF 1.4 by default
+       ln -s ../../../build-aux/texinfo.tex debian/builddir/doc/texinfo-r.tex
+       printf '%s\n' \
+           '\pdfminorversion4\relax\pdfobjcompresslevel0\relax%' \
+           '\input texinfo-r.tex' \
+           >debian/builddir/doc/texinfo.tex
        @:>$@
 
 build-indep: