]> git.pld-linux.org Git - packages/ecartis.git/commitdiff
- prepare docs - NFY, I need someone who knows tex...
authorPaweł Gołaszewski <blues@pld-linux.org>
Thu, 17 Jul 2003 20:28:10 +0000 (20:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ecartis.spec -> 1.38

ecartis.spec

index 66392fb0e80dbd290b23a7442a2fd033f85d87b2..b4235a4d26ae01c52f759681e5b368df0c446a90 100644 (file)
@@ -17,7 +17,12 @@ Patch0:              %{name}-ipv6.patch
 Patch1:                %{name}-conf.patch
 Patch2:                %{name}-paths.patch
 URL:           http://www.ecartis.org/
+BuildRequires: latex2html
 BuildRequires: perl-base
+BuildRequires: tetex-dvips
+BuildRequires: tetex-latex
+BuildRequires: tetex-pdftex
+BuildRequires: w3m
 Requires(pre): /usr/sbin/useradd
 Requires(pre): /usr/sbin/groupadd
 Requires(postun):      /usr/sbin/userdel
@@ -85,10 +90,21 @@ zarz
 %patch2 -p1
 
 %build
-%{__make} -Csrc -fMakefile.dist WFLAGS="%{rpmcflags} -Wall"
-
 perl -pi -e 's@include templates@include %{_ecartisdata}/templates@' templates/*.lsc
 
+%{__make} -C src \
+       -fMakefile.dist \
+       WFLAGS="%{rpmcflags} -Wall"
+
+%{__make} -C documentation \
+       LATEX=%{_bindir}/latex \
+       PDFLATEX=%{_bindir}/pdflatex \
+       DVIPS=%{_bindir}/dvips \
+       W3M=%{_bindir}/w3m \
+       LATEX2HTML=%{_bindir}/latex2html \
+       WFLAGS="%{rpmcflags} -Wall"
+
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{%{name},logrotate.d,cron.daily} \
@@ -96,7 +112,8 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/{%{name},logrotate.d,cron.daily} \
        $RPM_BUILD_ROOT%{_ecartisdir}/{modules,scripts,templates} \
        $RPM_BUILD_ROOT{%{_cgidir},/var/log}
 
-%{__make} -Csrc -fMakefile.dist install
+%{__make} -C src install \
+       -fMakefile.dist
 
 install %{name}        $RPM_BUILD_ROOT%{_ecartisdir}
 
This page took 0.029047 seconds and 4 git commands to generate.