v4 packaging: documentation-related changes
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1949 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
791422ba66
commit
891ed99248
|
@ -2,7 +2,7 @@ Source: dynare
|
||||||
Maintainer: Sébastien Villemot <sebastien.villemot@ens.fr>
|
Maintainer: Sébastien Villemot <sebastien.villemot@ens.fr>
|
||||||
Section: math
|
Section: math
|
||||||
Priority: optional
|
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
|
Standards-Version: 3.8.0
|
||||||
Homepage: http://www.dynare.org
|
Homepage: http://www.dynare.org
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
@ -34,12 +34,16 @@ ifeq ($(shell test -d $(MATLAB75_ROOT) && echo yes), yes)
|
||||||
$(MATLAB75_ROOT)/etc/lmdown
|
$(MATLAB75_ROOT)/etc/lmdown
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Building documentation
|
||||||
|
make -C doc
|
||||||
|
|
||||||
touch build-stamp
|
touch build-stamp
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
make clean -C preprocessor
|
make clean -C preprocessor
|
||||||
|
make clean -C doc
|
||||||
find mex/sources -name *.o | xargs rm -f
|
find mex/sources -name *.o | xargs rm -f
|
||||||
rm -f mex/octave/*.mex mex/2007a/* mex/2007b/*
|
rm -f mex/octave/*.mex mex/2007a/* mex/2007b/*
|
||||||
rm -f matlab/dynare_m matlab/dynare_m.exe
|
rm -f matlab/dynare_m matlab/dynare_m.exe
|
||||||
|
@ -57,7 +61,7 @@ binary-arch: build
|
||||||
dh_installdocs
|
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_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_strip
|
||||||
dh_compress
|
dh_compress -X.pdf
|
||||||
dh_fixperms
|
dh_fixperms
|
||||||
dh_shlibdeps
|
dh_shlibdeps
|
||||||
dh_gencontrol
|
dh_gencontrol
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Configuration file for building Dynare Windows Installer
|
# Configuration file for building Dynare Windows Installer
|
||||||
# Uses "NullSoft Scriptable Installer System", aka NSIS (see http://nsis.sourceforge.net)
|
# 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)
|
# 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:
|
# 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)
|
# - 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
|
File ..\mex\octave\rcond.m ..\mex\octave\*.mex
|
||||||
|
|
||||||
SetOutPath $INSTDIR\doc
|
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
|
SetOutPath $INSTDIR\doc\manual-html
|
||||||
File ..\doc\manual\*.html
|
File ..\doc\manual-html\*.html
|
||||||
|
|
||||||
WriteUninstaller $INSTDIR\uninstall.exe
|
WriteUninstaller $INSTDIR\uninstall.exe
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue