From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1827B139695 for ; Sat, 17 Jun 2017 07:25:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4695FE0841; Sat, 17 Jun 2017 07:25:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E277E0841 for ; Sat, 17 Jun 2017 07:25:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DCA1334175C for ; Sat, 17 Jun 2017 07:25:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F7F6747C for ; Sat, 17 Jun 2017 07:25:18 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1497037269.8e770ef7b2ec1c9b13e7df2d7ccadb9ad7550695.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: Makefile pms.cls pms.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 8e770ef7b2ec1c9b13e7df2d7ccadb9ad7550695 X-VCS-Branch: master Date: Sat, 17 Jun 2017 07:25:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1c60db44-c9ae-4730-a8fb-78002baf4715 X-Archives-Hash: 5de9b5b0d1f3df21430c71905423f8ec commit: 8e770ef7b2ec1c9b13e7df2d7ccadb9ad7550695 Author: Ulrich Müller gentoo org> AuthorDate: Fri Jun 9 19:41:09 2017 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Jun 9 19:41:09 2017 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=8e770ef7 Add reference to latest git commit. Makefile | 2 +- pms.cls | 5 +++++ pms.tex | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1f500d5..ef9991b 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ pms.bbl: pms.bib $(LATEXFILES) vc.tex bibtex pms vc.tex: $(SOURCES) - /bin/sh ./vc + /bin/sh ./vc -m eapi-cheatsheet.pdf: pms.pdf @# nothing to do here, since this is also part of the main document diff --git a/pms.cls b/pms.cls index 150a1a0..45705e3 100644 --- a/pms.cls +++ b/pms.cls @@ -162,8 +162,13 @@ \ifthenelse{\equal{\VCDateISO}{}} { \date{Generated on: \today} + \newcommand{\commitinfo}{} }{ \date{\printdate{\VCDateISO}} + \newcommand{\commitinfo}{% + This version corresponds to commit \VCRevision + \ifthenelse{\VCModified=0}{}{ with local changes}. + } } % Set page title diff --git a/pms.tex b/pms.tex index 73b7dac..3f338fb 100644 --- a/pms.tex +++ b/pms.tex @@ -37,6 +37,8 @@ This document is released under the Creative Commons Attribution-ShareAlike 3.0 Licence. The full text of this licence can be found at \url{http://creativecommons.org/licenses/by-sa/3.0/}. + + \commitinfo } \tableofcontents