[SCM] 3depict branch, master, updated. debian/0.0.13-1_exp1-3-g3b8e8c8

D Haley mycae at gmx.com
Sat Jun 15 22:22:59 UTC 2013


The following commit has been merged in the master branch:
commit 3b8e8c89ba5eaa58e6997c4e258f99fae10b3a2e
Author: D Haley <mycae at gmx.com>
Date:   Sat Jun 15 23:25:03 2013 +0200

    * Move some rules into install file

diff --git a/debian/3depict.install b/debian/3depict.install
new file mode 100644
index 0000000..4fa9249
--- /dev/null
+++ b/debian/3depict.install
@@ -0,0 +1,2 @@
+data/textures/*png usr/share/3depict/textures/
+docs/manual-latex/manual.pdf usr/share/3depict/
diff --git a/debian/rules b/debian/rules
index 98a41bd..431c180 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,22 +24,27 @@ override_dh_clean:
 
 override_dh_auto_install: 
 	dh_auto_install
-	#Install the textures
-	mkdir -p $(CURDIR)/debian/3depict/usr/share/3depict/textures/
-	cp -p data/textures/*png $(CURDIR)/debian/3depict/usr/share/3depict/textures/
+	
 	#rename 3Depict (real program name) to debian-friendly 3depict
 	mv $(CURDIR)/debian/3depict/usr/bin/3Depict $(CURDIR)/debian/3depict/usr/bin/3depict
+
 	mkdir -p $(CURDIR)/debian/3depict/usr/share/doc/3depict/
-	echo "Copyright 2011 D Haley <mycae at yahoo.com>" > $(CURDIR)/debian/3depict/usr/share/doc/3depict/copyright
+	echo "Copyright 2013 D Haley <mycae at yahoo.com>" > $(CURDIR)/debian/3depict/usr/share/doc/3depict/copyright
 	echo "See /usr/share/common-licenses/GPL-1 for copyright info" >> $(CURDIR)/debian/3depict/usr/share/doc/3depict/copyright
+
+	#Install files that cannot be handled by .install due to rename
+	#---
 	#Install .desktop file (for XFCE)
 	install -Dp -m 644 $(CURDIR)/packaging/3Depict.desktop $(CURDIR)/debian/3depict/usr/share/applications/3depict.desktop
 	#install icon (both SVG and XPM) into pixmaps
 	install -Dp -m 644 $(CURDIR)/data/3Depict.xpm $(CURDIR)/debian/3depict/usr/share/pixmaps/3depict.xpm
 	install -Dp -m 644 $(CURDIR)/data/textures/tex-source/3Depict-icon.svg $(CURDIR)/debian/3depict/usr/share/pixmaps/3depict.svg
+	#---
+	
 	#Install the pre-built locale files that are shipped with the tarball.
 	#translation sources (.po) files are in the translations/ folder.
-	#remap a few locale names
+	#remap a few locale names as needed
+	#--
 	sh -c "mv locales/de_DE/ locales/de/"
 	mkdir -p $(CURDIR)/debian/3depict/usr/share/locale/
 	cp -R locales/* $(CURDIR)/debian/3depict/usr/share/locale/
@@ -47,5 +52,4 @@ override_dh_auto_install:
 	sh -c "mv locales/de/ locales/de_DE/"
 	# convert installed 3Depict.mo files to lowercase	
 	find $(CURDIR)/debian/3depict/usr/share/locale/ -name 3Depict.mo | xargs rename 's/3Depict.mo/3depict.mo/'
-	#Install manual to 3depict dir
-	cp $(CURDIR)/docs/manual-latex/manual.pdf $(CURDIR)/debian/3depict/usr/share/3depict/
+	#--

-- 
3depict



More information about the debian-science-commits mailing list