[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[pgf] 11/12: ean out licenses directory



This is an automated email from the git hooks/post-receive script.

preining pushed a commit to branch master
in repository pgf.

commit 31997aa8cf25e5459e7e16acb140246fc616ed36
Author: Norbert Preining <preining@debian.org>
Date:   Fri Feb 28 10:15:42 2014 +0900

    ean out licenses directory
---
 debian/changelog |  2 +-
 debian/rules     | 25 +++++++++++++------------
 2 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9649100..8e1049d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,7 +5,7 @@ pgf (3.0.0-0.1) UNRELEASED; urgency=medium
   * adapt debian/rules file, clean out comments
   * bump standards version, no changes necessary
 
- -- Norbert Preining <preining@debian.org>  Fri, 28 Feb 2014 10:07:27 +0900
+ -- Norbert Preining <preining@debian.org>  Fri, 28 Feb 2014 10:15:15 +0900
 
 pgf (2.10-1) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index 465c19c..e011216 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,18 +39,19 @@ install: build
 	chmod -x $(TEXMF)/tex/generic/pgf/math/pgfmathcalc.code.tex
 	chmod -x $(TEXMF)/tex/generic/pgf/math/pgfmathparser.code.tex
 	#
-	# should we clean up the licenses directory?
-	# clean up license directory:
-	# contained in debian/copyright
-	#rm $(TEXMF)/doc/generic/pgf/licenses/LICENSE
-	#rm $(TEXMF)/doc/generic/pgf/licenses/latex-project-public-license-1.3c.txt
-	# contained in common-licenses
-	#rm $(TEXMF)/doc/generic/pgf/licenses/gnu-public-license-2.txt
-	#
-	# not used for licensing
-	#rm $(TEXMF)/doc/generic/pgf/licenses/gnu-free-documentation-license-1.2.txt
-	# one could move the remaining files to the doc folder?
-	# 
+	# remove licenses dir as everything is either included
+	# in the debian/copyright file, is available in common-licenses
+	# or is installed via debian/docs
+	# take a careful approach not to drop new files!
+	rm $(TEXMF)/doc/generic/pgf/licenses/gnu-free-documentation-license-1.2.txt
+	rm $(TEXMF)/doc/generic/pgf/licenses/gnu-public-license-2.txt
+	rm $(TEXMF)/doc/generic/pgf/licenses/latex-project-public-license-1.3c.txt
+	rm $(TEXMF)/doc/generic/pgf/licenses/LICENSE
+	rm $(TEXMF)/doc/generic/pgf/licenses/manifest-code.txt
+	rm $(TEXMF)/doc/generic/pgf/licenses/manifest-documentation.txt
+	# now the directory should be empty, if not, something
+	# has been added and we need to take action!
+	rmdir $(TEXMF)/doc/generic/pgf/licenses/
 
 # Build architecture-independent files here.
 binary-indep: build install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/pgf.git


Reply to: