v4 packaging: documentation-related changes

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1949 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
sebastien 2008-07-09 21:07:02 +00:00
parent 791422ba66
commit 891ed99248
4 changed files with 17 additions and 6 deletions

2
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: dynare
Maintainer: Sébastien Villemot <sebastien.villemot@ens.fr>
Section: math
Priority: optional
Build-Depends: debhelper (>= 6), octave3.0-headers, g++-4.1, flex, bison
Build-Depends: debhelper (>= 6), octave3.0-headers, g++-4.1, flex, bison, texlive, xsltproc, dblatex, latex-beamer
Standards-Version: 3.8.0
Homepage: http://www.dynare.org

6
debian/dynare.docs vendored Normal file
View File

@ -0,0 +1,6 @@
doc/manual.pdf
doc/manual-html
doc/guide.pdf
doc/macroprocessor/macroprocessor.pdf
doc/bvar-a-la-sims.pdf
doc/userguide/Dynare_UserGuide_WebBeta.pdf

6
debian/rules vendored
View File

@ -34,12 +34,16 @@ ifeq ($(shell test -d $(MATLAB75_ROOT) && echo yes), yes)
$(MATLAB75_ROOT)/etc/lmdown
endif
# Building documentation
make -C doc
touch build-stamp
clean:
dh_testdir
dh_testroot
make clean -C preprocessor
make clean -C doc
find mex/sources -name *.o | xargs rm -f
rm -f mex/octave/*.mex mex/2007a/* mex/2007b/*
rm -f matlab/dynare_m matlab/dynare_m.exe
@ -57,7 +61,7 @@ binary-arch: build
dh_installdocs
-dh_lintian # Do not fail here, since dh_lintian is only present in debhelper >= 6.0.7, and Ubuntu Hardy has 6.0.4
dh_strip
dh_compress
dh_compress -X.pdf
dh_fixperms
dh_shlibdeps
dh_gencontrol

View File

@ -1,7 +1,8 @@
# Configuration file for building Dynare Windows Installer
# Uses "NullSoft Scriptable Installer System", aka NSIS (see http://nsis.sourceforge.net)
# NSIS can be run from both Windows and Linux (see "nsis" package in Debian)
# (However for Dynare it fails under Debian because we use a plugin which cannot be compiled under Debian at this time)
# NOTE: if you want to build from Debian, you'll need to replace /usr/share/nsis/Plugins/System.dll by the System.dll included in the windows distribution of NSIS (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=319999)
# How to build the installer:
# - build the preprocessor, the MEX binaries (for Matlab 7.4, 7.5 and for Octave), and the documentation (PDF files + HTML manual)
@ -68,10 +69,10 @@ Section
File ..\mex\octave\rcond.m ..\mex\octave\*.mex
SetOutPath $INSTDIR\doc
File ..\doc\guide.pdf ..\doc\userguide\Dynare_UserGuide_WebBeta.pdf ..\doc\bvar-a-la-sims.pdf
File ..\doc\manual.pdf ..\doc\guide.pdf ..\doc\userguide\Dynare_UserGuide_WebBeta.pdf ..\doc\bvar-a-la-sims.pdf ..\doc\macroprocessor\macroprocessor.pdf
SetOutPath $INSTDIR\doc\manual
File ..\doc\manual\*.html
SetOutPath $INSTDIR\doc\manual-html
File ..\doc\manual-html\*.html
WriteUninstaller $INSTDIR\uninstall.exe