changeset 626:16f7bc43fd1c

Updated the package script and build files to print out the messages better readable and avoid build warnings. Menu entry still doesn't work. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@885 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Thu, 30 Oct 2008 16:57:00 +0000
parents d597f77655fd
children 8b04d6dd2d2b
files buildPackage.sh debian/control debian/copyright debian/rules
diffstat 4 files changed, 18 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/buildPackage.sh	Wed Oct 29 19:22:29 2008 +0000
+++ b/buildPackage.sh	Thu Oct 30 16:57:00 2008 +0000
@@ -60,13 +60,28 @@
 
 cd $targetDir
 
+echo "Unpacking the source archive"
+echo "----------------------------"
 tar -xzvf $sourcefilenameorig
+echo ""
 
+echo "Copying the debian package build files"
+echo "--------------------------------------"
 cp -r ../debian ./$sourcedirname
 
 cd $sourcedirname/debian
 rm -Rfv .svn
+echo ""
+
+echo "Creating the debian source package"
+echo "----------------------------------"
 debuild -S -us -uc
+echo ""
+
+echo "Creating the debian binary package for the current platform"
+echo "-----------------------------------------------------------"
+debuild -us -uc
+echo ""
 
 echo "Everything completed successfully!"
 if [ "$WARNINGOCCURRED" = "true" ]; then
--- a/debian/control	Wed Oct 29 19:22:29 2008 +0000
+++ b/debian/control	Thu Oct 30 16:57:00 2008 +0000
@@ -9,7 +9,7 @@
 
 Package: universalindentgui
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}
 Recommends: astyle, bcpp, csstidy, hindent, indent, tidy, uncrustify (>= 0.50), xmlindent
 Description: GUI frontend for nearly any code beautifier
  UniversalIndentGui is a GUI fontend for nearly any code beautifier.
--- a/debian/copyright	Wed Oct 29 19:22:29 2008 +0000
+++ b/debian/copyright	Thu Oct 30 16:57:00 2008 +0000
@@ -39,5 +39,3 @@
 The Debian packaging is (C) 2008, Thomas Schweitzer <mail@thomas-schweitzer.de> and
 is licensed under the GPL 2, see `/usr/share/common-licenses/GPL-2'.
 
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
--- a/debian/rules	Wed Oct 29 19:22:29 2008 +0000
+++ b/debian/rules	Thu Oct 30 16:57:00 2008 +0000
@@ -18,6 +18,7 @@
 	dh_testdir
 	# Add here commands to configure the package.
 	qmake-qt4
+	rm -fv translations/qt_*.qm
 
 	touch configure-stamp
 
@@ -66,7 +67,7 @@
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs CHANGELOG.txt
-	dh_installdocs
+	dh_installdocs doc doc/iniFileFormat.html --exclude=INSTALL.txt --exclude=doc/universalindentgui.1.gz --exclude=doc/universalindentgui.man
 	dh_installexamples
 #	dh_install
 	dh_installmenu