[asc] 48/65: New upstream and move to dh7 style

Markus Koschany apo-guest at moszumanska.debian.org
Mon Dec 7 20:38:01 UTC 2015


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

apo-guest pushed a commit to branch master
in repository asc.

commit a8c96377a55d49ee1a0dbc7ef97c21cfe1f55c87
Author: Barry deFreese <bdefreese at debian.org>
Date:   Mon May 27 03:30:15 2013 +0000

    New upstream and move to dh7 style
---
 debian/asc.manpages                  |   1 -
 debian/changelog                     |  12 +++
 debian/compat                        |   2 +-
 debian/control                       |   6 +-
 debian/patches/gcc-4.7.diff          |  83 ---------------
 debian/patches/no_unittester.patch   |  15 +++
 debian/patches/series                |   3 +-
 debian/patches/spelling_errors.patch | 192 +++++++++++++++++++++++++++++++++++
 debian/rules                         |  96 ++----------------
 9 files changed, 232 insertions(+), 178 deletions(-)

diff --git a/debian/asc.manpages b/debian/asc.manpages
index 678e2b9..988e9df 100644
--- a/debian/asc.manpages
+++ b/debian/asc.manpages
@@ -1,6 +1,5 @@
 debian/tmp/usr/share/man/man6/asc.6
 debian/tmp/usr/share/man/man6/asc_demount.6
-debian/tmp/usr/share/man/man6/asc_makegfx.6
 debian/tmp/usr/share/man/man6/asc_mapedit.6
 debian/tmp/usr/share/man/man6/asc_mount.6
 debian/tmp/usr/share/man/man6/asc_weaponguide.6
diff --git a/debian/changelog b/debian/changelog
index b19b0eb..46f7740 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+asc (2.5.0.0-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #708835).
+  * Add patch to not build unittester dir since it is broken.
+  * Add patch to fix spelling errors in binary packages.
+  * Remove gcc-4.7 patch, fixed upstream.
+  * Change debian/rules to dh7 style.
+  * Add hardening flags.
+  * Bump Standards Version to 3.9.4.
+
+ -- Barry deFreese <bdefreese at debian.org>  Sat, 25 May 2013 14:49:56 -0400
+
 asc (2.4.0.0-3) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..7f8f011 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+7
diff --git a/debian/control b/debian/control
index cb4af2b..5fe417d 100644
--- a/debian/control
+++ b/debian/control
@@ -3,15 +3,15 @@ Section: games
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Sam Hocevar <sho at debian.org>, Bartosz Fenski <fenio at debian.org>, Alexander Reichle-Schmehl <tolimar at debian.org>, Barry deFreese <bdefreese at debian.org>, Moritz Muehlenhoff <jmm at debian.org>
-Build-Depends: debhelper (>= 5.0.0), libsdl1.2-dev, libsdl-mixer1.2-dev, libsdl-image1.2-dev, libsdl-sound1.2-dev, libsigc++-1.2-dev, libphysfs-dev, libxt-dev, libesd0-dev, libboost-dev, libboost-regex-dev, libbz2-dev, zip, libwxgtk2.8-dev, liblua5.1-0-dev, libexpat1-dev, libjpeg-dev, libfreetype6-dev, libpng-dev
-Standards-Version: 3.9.3
+Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.16.1~), libsdl1.2-dev, libsdl-mixer1.2-dev, libsdl-image1.2-dev, libsdl-sound1.2-dev, libsigc++-1.2-dev, libphysfs-dev, libxt-dev, libesd0-dev, libboost-dev, libboost-regex-dev, libbz2-dev, zip, libwxgtk2.8-dev, liblua5.1-0-dev, libexpat1-dev, libjpeg-dev, libfreetype6-dev, libpng-dev
+Standards-Version: 3.9.4
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/asc/
 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/asc/
 Homepage: http://www.asc-hq.org
 
 Package: asc
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, asc-data (>= ${Upstream-Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, asc-data (>= 2.5.0.0)
 Recommends: asc-music
 Description: turn-based strategy game
  Advanced Strategic Command is a free strategy game in the tradition 
diff --git a/debian/patches/gcc-4.7.diff b/debian/patches/gcc-4.7.diff
deleted file mode 100644
index de5e650..0000000
--- a/debian/patches/gcc-4.7.diff
+++ /dev/null
@@ -1,83 +0,0 @@
-Description: Fixed gcc 4.7 compilation problems
-Origin: upstream, 205e73929e9576f4abfdde7188bef381396b8ce1
-Author: Martin Bickel <martin at asc-hq.org>
-
-diff -r 83e224cdaf50 -r 205e73929e95 source/graphics/blitter.h
---- a/source/graphics/blitter.h	Sun May 13 15:41:46 2012 +0200
-+++ b/source/graphics/blitter.h	Wed May 16 19:17:17 2012 +0200
-@@ -749,7 +749,7 @@
- 
-       void assign ( PixelType src, PixelType* dest )
-       {
--         if ( isOpaque(src ) ) {
-+         if ( this->isOpaque(src ) ) {
-             *dest = src;
-          }
-       };
-@@ -769,7 +769,7 @@
- 
-       void assign ( PixelType src, PixelType* dest )
-       {
--         if ( isOpaque(src ) ) {
-+         if ( this->isOpaque(src ) ) {
-             *dest = src;
-          }
-       };
-@@ -846,7 +846,7 @@
-       void assign ( PixelType src, PixelType* dest )
-       {
-          // STATIC_CHECK ( pixelsize == 1, wrong_pixel_size );
--         if ( isOpaque(src ) ) {
-+         if ( this->isOpaque(src ) ) {
-             *dest = table[*dest];
-          }
-       };
-@@ -873,7 +873,7 @@
- 
-       void assign ( PixelType src, PixelType* dest )
-       {
--         if ( isOpaque(src ) ) {
-+         if ( this->isOpaque(src ) ) {
-             *dest = ((*dest >> 1) & 0x7f7f7f7f) | (*dest & 0xff000000 );
-          }
-       };
-@@ -901,7 +901,7 @@
-    protected:
-       void assign ( PixelType src, PixelType* dest )
-       {
--         if ( isOpaque(src ) )
-+         if ( this->isOpaque(src ) )
-             *dest = colormixbufchar[*dest + src*256 ];
-       };
-    public:
-@@ -918,7 +918,7 @@
-       void assign ( PixelType src, PixelType* dest )
-       {
-          // STATIC_CHECK ( pixelsize == 1, wrong_pixel_size );
--         if ( isOpaque(src ) ) {
-+         if ( this->isOpaque(src ) ) {
-             *dest = ((*dest >> 1) & 0x7f7f7f7f) + ((src >> 1) & 0x7f7f7f7f);
-          }
-       };
-@@ -975,7 +975,7 @@
-       void assign ( PixelType src, PixelType* dest )
-       {
-          // STATIC_CHECK ( pixelsize == 1, wrong_pixel_size );
--         if ( isOpaque(src ) ) {
-+         if ( this->isOpaque(src ) ) {
-             *dest = table[ *dest + src*256 ];
-          }
-       };
-diff -r 83e224cdaf50 -r 205e73929e95 source/graphics/surface.cpp
---- a/source/graphics/surface.cpp	Sun May 13 15:41:46 2012 +0200
-+++ b/source/graphics/surface.cpp	Wed May 16 19:17:17 2012 +0200
-@@ -579,7 +579,7 @@
- 
-       void assign ( PixelType src, PixelType* dest )
-       {
--         if ( !isOpaque(src ) )
-+         if ( !this->isOpaque(src ) )
-             *dest &= alphamask;
-       };
- 
-
diff --git a/debian/patches/no_unittester.patch b/debian/patches/no_unittester.patch
new file mode 100644
index 0000000..99c05a6
--- /dev/null
+++ b/debian/patches/no_unittester.patch
@@ -0,0 +1,15 @@
+Author: Barry deFreese <bdefreese at debian.org>
+Description: Remove unittester subdir since it is broken.
+Index: asc-2.5.0.0/Makefile.in
+===================================================================
+--- asc-2.5.0.0.orig/Makefile.in	2012-05-19 11:30:27.000000000 -0400
++++ asc-2.5.0.0/Makefile.in	2013-05-25 18:29:00.000000000 -0400
+@@ -291,7 +291,7 @@
+ top_srcdir = @top_srcdir@
+ zipfound = @zipfound@
+ MAINTAINERCLEANFILES = Makefile.in
+-SUBDIRS = source data doc installer unittester @extradatadir@
++SUBDIRS = source data doc installer @extradatadir@
+ EXTRA_DIST = asc.kdevelop AUTHORS COPYING ChangeLog INSTALL README TODO asc.lsm bootstrap asc.suse.spec mac_configure
+ AUTOMAKE_OPTIONS = foreign
+ all: config.h
diff --git a/debian/patches/series b/debian/patches/series
index dc824e5..20e7fe4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
-gcc-4.7.diff
 gcc-4.7-part2.diff
+no_unittester.patch
+spelling_errors.patch
diff --git a/debian/patches/spelling_errors.patch b/debian/patches/spelling_errors.patch
new file mode 100644
index 0000000..561eb80
--- /dev/null
+++ b/debian/patches/spelling_errors.patch
@@ -0,0 +1,192 @@
+Author: Barry deFreese <bdefreese at debian.org>
+Description: Fix spelling errors in binary packages.
+Index: asc-2.5.0.0/source/sgstream.cpp
+===================================================================
+--- asc-2.5.0.0.orig/source/sgstream.cpp	2012-05-19 11:30:40.000000000 -0400
++++ asc-2.5.0.0/source/sgstream.cpp	2013-05-26 07:49:55.000000000 -0400
+@@ -400,7 +400,7 @@
+      if ( !filename.empty() ) {
+         CGameOptions::Instance()->setChanged();
+         if ( writegameoptions( filename ))
+-           displayLogMessage ( 6, "A config file has been sucessfully written to " + filename + " ");
++           displayLogMessage ( 6, "A config file has been successfully written to " + filename + " ");
+         else {
+            warningMessage("Unable to write file " + filename );
+            displayLogMessage ( 6, "Failed to write config file to " + filename + " ");
+Index: asc-2.5.0.0/source/libs/paragui/src/themes/themeloader.cpp
+===================================================================
+--- asc-2.5.0.0.orig/source/libs/paragui/src/themes/themeloader.cpp	2012-05-19 11:30:39.000000000 -0400
++++ asc-2.5.0.0/source/libs/paragui/src/themes/themeloader.cpp	2013-05-26 07:50:24.000000000 -0400
+@@ -480,7 +480,7 @@
+ 	delete file;
+ 	delete[] buff;
+ 
+-	PG_LogMSG("theme '%s' loaded sucessfully", filename.c_str());
++	PG_LogMSG("theme '%s' loaded successfully", filename.c_str());
+ 
+ 	return info.theme;
+ }
+Index: asc-2.5.0.0/source/gamemap.cpp
+===================================================================
+--- asc-2.5.0.0.orig/source/gamemap.cpp	2012-05-19 11:30:39.000000000 -0400
++++ asc-2.5.0.0/source/gamemap.cpp	2013-05-26 07:52:09.000000000 -0400
+@@ -2272,7 +2272,7 @@
+       {  "TrainingIncrement",                  2,                    1,   maxunitexperience,  true,   false,   "training centers: training increment"},   //       cgp_trainingIncrement,              
+       {  "ExperienceEffectDivisorAttack",      1,                    1,   10,                 false,  false,   "experience effect divisor for attack"},  //       gp_experienceDivisorAttack
+       {  "DisableDirectView",                  1,                    0,   1,                  false,  false,   "disable direct View"},  //       cgp_disableDirectView
+-      {  "DisableUnitTrade",                   0,                    0,   1,                  false,  false,   "disable transfering units/buildings to other players"},  //       cgp_disableUnitTransfer
++      {  "DisableUnitTrade",                   0,                    0,   1,                  false,  false,   "disable transferring units/buildings to other players"},  //       cgp_disableUnitTransfer
+       {  "ExperienceEffectDivisorDefense",     1,                    1,   10,                 false,  false,   "experience effect divisor for defense"},  //       cgp_experienceDivisorDefense
+       {  "DebugGameEvents",                    0,                    0,   2,                  true,   false,   "debug game events"},  //       cgp_debugEvents
+       {  "ObjectGrowthRate",                   0,                    0,   maxint,             true,   false,   "Object growth rate (percentage)" },  //       cgp_objectGrowthMultiplier
+Index: asc-2.5.0.0/data/campaign/standard/asc008.map.en_US
+===================================================================
+--- asc-2.5.0.0.orig/data/campaign/standard/asc008.map.en_US	2012-05-19 11:30:28.000000000 -0400
++++ asc-2.5.0.0/data/campaign/standard/asc008.map.en_US	2013-05-26 07:52:51.000000000 -0400
+@@ -1,6 +1,6 @@
+ map = asc.getLoadingMap() 
+ --- ===== 170  ======= 
+-message = [[Thunderlance HQ, Rogul:#crt##crt#Commander, we have found a hoovercraft. This vehicle is damaged and without fuel. The hoovercraft seems to have been for transfering workers to a little island in the west. Perhaps we will find some tools their to rebuild the bridge across the river.#crt##crt#Thor Menser,#crt#Thunderlance Military Advisor #crt#]]
++message = [[Thunderlance HQ, Rogul:#crt##crt#Commander, we have found a hoovercraft. This vehicle is damaged and without fuel. The hoovercraft seems to have been for transferring workers to a little island in the west. Perhaps we will find some tools their to rebuild the bridge across the river.#crt##crt#Thor Menser,#crt#Thunderlance Military Advisor #crt#]]
+ asc.setLocalizedEventMessage( map, 170, message )
+ 
+ --- ===== 88  ======= 
+Index: asc-2.5.0.0/ChangeLog
+===================================================================
+--- asc-2.5.0.0.orig/ChangeLog	2012-05-19 11:30:27.000000000 -0400
++++ asc-2.5.0.0/ChangeLog	2013-05-26 07:53:23.000000000 -0400
+@@ -28501,7 +28501,7 @@
+ 	* source/: artint.cpp, artint.h, building.cpp, building.h,
+ 	  controls.cpp, mousehnd.cpp, sg.cpp, sg.wpj, strtmesg.cpp,
+ 	  dos/mousehnd.cpp, hexagon/asc.tgt, hexagon/mapedit/edhex.tgt,
+-	  tools/asctool.tgt, tools/tools.wpj:  Fixed crash when transfering
++	  tools/asctool.tgt, tools/tools.wpj:  Fixed crash when transferring
+ 	  ammo to vehicle with > 8 weapons
+ 
+ 2000-06-09 17:13  mbickel
+Index: asc-2.5.0.0/source/dialogs/editgameoptions.cpp
+===================================================================
+--- asc-2.5.0.0.orig/source/dialogs/editgameoptions.cpp	2012-05-19 11:30:38.000000000 -0400
++++ asc-2.5.0.0/source/dialogs/editgameoptions.cpp	2013-05-26 07:55:02.000000000 -0400
+@@ -325,7 +325,7 @@
+          (new PG_PropertyField_String<ASCString>( propertyEditor , "Language Override", &o->languageOverride ));
+          
+          if ( !mainApp )
+-            new PG_PropertyField_Checkbox<bool>( propertyEditor, "DEV: Save event message seperately", &o->saveEventMessagesExternal );
++            new PG_PropertyField_Checkbox<bool>( propertyEditor, "DEV: Save event message separately", &o->saveEventMessagesExternal );
+ 
+         
+          PG_Button* ok = new PG_Button( this, PG_Rect( Width() - 100, Height() - 40, 90, 30), "OK" );
+Index: asc-2.5.0.0/source/weatherdialog.h
+===================================================================
+--- asc-2.5.0.0.orig/source/weatherdialog.h	2012-05-19 11:30:40.000000000 -0400
++++ asc-2.5.0.0/source/weatherdialog.h	2013-05-26 07:56:22.000000000 -0400
+@@ -115,7 +115,7 @@
+ private:
+   static const int xSize;
+   static const int ySize;
+-  static const string SEPERATOR;
++  static const string SEPARATOR;
+   list<WeatherAreaInformation*> currentList;
+   list<WeatherAreaInformation*> removeList;
+   list<WeatherAreaInformation*> addList;
+@@ -159,7 +159,7 @@
+ private:
+   static const int xSize;
+   static const int ySize;
+-  static const string SEPERATOR;
++  static const string SEPARATOR;
+   list<WindInformation*> currentList;  
+   list<WindInformation*> addList;
+   
+Index: asc-2.5.0.0/source/edglobal.cpp
+===================================================================
+--- asc-2.5.0.0.orig/source/edglobal.cpp	2012-05-19 11:30:39.000000000 -0400
++++ asc-2.5.0.0/source/edglobal.cpp	2013-05-26 07:56:56.000000000 -0400
+@@ -121,7 +121,7 @@
+         "End PolygonMode",
+         "Smooth coasts",
+         "Import BI-Map",
+-        "SEPERATOR",
++        "SEPARATOR",
+         "BI-Resource Mode",
+         "Resize map",
+         "Insert BI map",
+Index: asc-2.5.0.0/source/weatherdialog.cpp
+===================================================================
+--- asc-2.5.0.0.orig/source/weatherdialog.cpp	2012-05-19 11:30:40.000000000 -0400
++++ asc-2.5.0.0/source/weatherdialog.cpp	2013-05-26 07:57:31.000000000 -0400
+@@ -411,7 +411,7 @@
+ const int AddWindChangeDialog::xSize = 400;
+ const int AddWindChangeDialog::ySize = 400;
+ 
+-const string SEPERATOR = ";";
++const string SEPARATOR = ";";
+ 
+ AddWindChangeDialog::AddWindChangeDialog(EventWindChangesDialog* ewcd):  ASC_PG_Dialog(ewcd, PG_Rect( 0, 0, xSize, ySize ), "Add Weather Area", SHOW_CLOSE ) {
+     int valueXPos = static_cast<int>(xSize * 0.75);
+Index: asc-2.5.0.0/source/maped-mainscreen.cpp
+===================================================================
+--- asc-2.5.0.0.orig/source/maped-mainscreen.cpp	2012-05-19 11:30:39.000000000 -0400
++++ asc-2.5.0.0/source/maped-mainscreen.cpp	2013-05-26 08:01:36.000000000 -0400
+@@ -133,8 +133,8 @@
+    addbutton ( "Resi~z~e map\tR",             act_resizemap );
+    addbutton ( "set global uniform ~w~eather\tctrl-W", act_setactweatherglobal );
+    // addbutton ( "configure weather generator", act_setactnewweather );
+-   addbutton ( "~C~reate regional ressources", act_createresources );
+-   addbutton ( "Create global ressources\tctrl+F", act_createresources2 );
++   addbutton ( "~C~reate regional resources", act_createresources );
++   addbutton ( "Create global resources\tctrl+F", act_createresources2 );
+    addbutton ( "Clear all mineral resources", act_clearresources );
+    currentMenu->addSeparator();
+    addbutton ( "~S~et turn number",        act_setTurnNumber );
+Index: asc-2.5.0.0/source/tools/infopage.h
+===================================================================
+--- asc-2.5.0.0.orig/source/tools/infopage.h	2012-05-19 11:30:40.000000000 -0400
++++ asc-2.5.0.0/source/tools/infopage.h	2013-05-26 08:02:11.000000000 -0400
+@@ -478,8 +478,8 @@
+ };
+ 
+ /**
+- at brief  Representation of one the building information page containing the information which ressources
+-        the building can provide. Research points are treated as one ressource a building can provide
++ at brief  Representation of one the building information page containing the information which resources
++        the building can provide. Research points are treated as one resource a building can provide
+ *@author Kevin Hirschmann
+ */
+ class BuildingResourcePage: public BuildingInfoPage {
+Index: asc-2.5.0.0/source/sg.cpp
+===================================================================
+--- asc-2.5.0.0.orig/source/sg.cpp	2012-05-19 11:30:40.000000000 -0400
++++ asc-2.5.0.0/source/sg.cpp	2013-05-26 08:04:21.000000000 -0400
+@@ -43,7 +43,7 @@
+    available. They are not modified during runtime in any way and are referenced
+    by the indiividual instances of Vehicle and Building. 
+    The Vehicletype has information that are shared  by all vehicles of this 'type', like speed, 
+-   weapon systems, accessable terrain etc, while the vehicle stores things like remaining movement for this
++   weapon systems, accessible terrain etc, while the vehicle stores things like remaining movement for this
+    turn, ammo, fuel and cargo.
+    
+    The primary contents of a GameMap are its fields ( #tfield ). Each field has again a pointer 
+Index: asc-2.5.0.0/source/tools/infopage.cpp
+===================================================================
+--- asc-2.5.0.0.orig/source/tools/infopage.cpp	2012-05-19 11:30:40.000000000 -0400
++++ asc-2.5.0.0/source/tools/infopage.cpp	2013-05-26 08:05:33.000000000 -0400
+@@ -506,7 +506,7 @@
+         type = addTREntryln(type, cmovemalitypes[h]);
+       }
+     }
+-    addTREntry("Building accessable to", type);
++    addTREntry("Building accessible to", type);
+     endTable();
+     if ( !cbt.entranceSystems.empty() ) {
+       addHeadline("Entrance System", 4);
+@@ -734,7 +734,7 @@
+         type = addTREntryln(type, cmovemalitypes[h]);
+       }
+     }
+-    addTREntry("Unit accessable for", type);
++    addTREntry("Unit accessible for", type);
+     endTable();
+     if ( !cbt.entranceSystems.empty() ) {
+       addHeadline("Entrance System", 4);
diff --git a/debian/rules b/debian/rules
index 4693cc4..b62a5ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,15 +4,10 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
 
-UPSTREAMVERSION:=$(shell dpkg-parsechangelog \
-| sed -n '/^Version:/{s/^Version: \(.\+\)-[^-]\+/\1/;p;}')
-
-CFLAGS = -Wall -g
+CFLAGS += -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
@@ -20,85 +15,8 @@ else
 	CFLAGS += -O2
 endif
 
-config.status: configure
-
-	dh_testdir
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
-
-	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --disable-paraguitest  
-
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-
-build-stamp:  config.status
-	dh_testdir
-
-	$(MAKE)
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	[ ! -f Makefile ] || $(MAKE) clean
-
-	rm -rf .pc
-	rm -f config.status config.log
-
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-
-
-
-binary-indep: build install
-	dh_testdir -i
-	dh_testroot -i
-	dh_installchangelogs -i
-	dh_installdocs -i 
-	dh_install --source=debian/tmp -i
-	dh_link -i
-	dh_strip -i
-	dh_compress -i
-	dh_fixperms -i
-	dh_installdeb -i
-	dh_shlibdeps -i
-	dh_gencontrol -i -- -VUpstream-Version=$(UPSTREAMVERSION)
-	dh_md5sums -i
-	dh_builddeb -i
-
-binary-arch: build install
-	dh_testdir -a
-	dh_testroot -a
-	dh_installchangelogs ChangeLog -a
-	dh_installdocs -a
-	dh_installexamples -a
-	dh_install -a 
-	dh_installmenu -a
-	dh_installman -a
-	dh_link -a
-	dh_strip -a
-	dh_compress -a
-	dh_fixperms -a
-	dh_installdeb -a
-	dh_shlibdeps -a
-	dh_gencontrol -a -- -VUpstream-Version=$(UPSTREAMVERSION)
-	dh_md5sums -a
-	dh_builddeb -a
+%:
+	dh $@
 
-binary: binary-indep binary-arch
-.PHONY: build-indep build-arch build clean binary-indep binary-arch binary install
+override_dh_auto_configure:
+	CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --disable-paraguitest

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/asc.git



More information about the Pkg-games-commits mailing list