Commit f08cf101 authored by Cédric Ware's avatar Cédric Ware
Browse files

Implement Debian package build.

Bump release number.
parent 450b9b4b
......@@ -21,3 +21,7 @@ example-*.pdf
example-presentation-slide2*
odgs/diag.pdf
svgs/drawing.pdf
debian/latex-theme*
debian/files
debian/*-stamp
debian/.debhelper
latex-theme-tpt (0.9.1-1) UNRELEASED; urgency=medium
* Initial debian packaging.
-- Cedric Ware <cedric.ware@telecom-paristech.fr> Tue, 28 Jul 2020 17:29:28 +0200
Source: latex-theme-tpt
Section: tex
Priority: optional
Maintainer: Cedric Ware <cedric.ware@telecom-paristech.fr>
Build-Depends: debhelper (>= 9.0.0), texlive-pictures (>= 2016), texlive-latex-recommended (>= 2016), texlive-latex-extra (>= 2016), fig2dev, latex-make, latexmk
Standards-Version: 3.9.3
Package: latex-theme-tpt
Architecture: all
Depends: ${misc:Depends}, texlive-pictures (>= 2016), texlive-latex-recommended (>= 2016)
Recommends: fig2dev, latex-make
Suggests: texlive-latex-extra, latex-theme-tpt-doc-fr
Description: LaTeX package for Telecom Paris themes
LaTeX package for Telecom Paris presentations and posters.
Package: latex-theme-tpt-doc-fr
Architecture: all
Description: LaTeX package for Telecom Paris themes - documentation (French)
LaTeX package for Telecom Paris presentations and posters.
This is latex-theme-tpt, written and maintained by
Tarik Graba and Cédric Ware.
The latest version can be downloaded from:
https://gitlab.telecom-paris.fr/sen/BeamerTPT
Copyright ⓒ Tarik Graba, Cédric Ware and Institut Mines-Télécom, 2007-2020.
All rights reserved. All logos are property of their respective institutions.
......@@ -10,7 +10,7 @@ include version.mk
# Default installation directories.
prefix = /usr/local
texmfdir = $(prefix)/texmf
texmfdir = $(prefix)/share/texmf
texdir = $(texmfdir)/tex/latex/$(package)
picdir = $(texdir)
docdir = $(texmfdir)/doc/latex/$(package)
......@@ -70,7 +70,13 @@ NEW_RELEASE_D = $(patsubst %,-d %,$(D))
release:
$(PERL) -i.orig $(RELEASE_SCRIPT) $(NEW_RELEASE_V) $(NEW_RELEASE_D) \
$(STYS) $(TOP_NAME).tex version.mk
# FIXME also handle debian/changelog.
# Create zip archive.
zip:
$(ZIP) $(package)-$(RELEASE_VERSION).zip $(STYS) $(LOGOS) $(DOCS)
# Create Debian package.
# FIXME auto-generate debian/latex-theme-tpt-doc-fr.links
deb:
dpkg-buildpackage -us -uc -b
#! /usr/bin/make -f
%:
dh $@ --with tex
override_dh_auto_install:
$(MAKE) -f $$(pwd)/debian/packaging.mk prefix=$$(pwd)/debian/latex-theme-tpt/usr install-tex
$(MAKE) -f $$(pwd)/debian/packaging.mk prefix=$$(pwd)/debian/latex-theme-tpt-doc-fr/usr install-doc
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{beamerthemetptng}[2020/07/28 v0.9.0]
\ProvidesPackage{beamerthemetptng}[2020/07/28 v0.9.1]
% Utilisation de pgfkeys/pgfopts pour la gestion des options,
% et définition de raccourcis.
......
# Updated by update-release script.
RELEASE_VERSION = v0.9.0
RELEASE_VERSION = v0.9.1
RELEASE_DATE = 2020-07-28
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment