--- bloboats-1.0.1.dsfg.orig/debian/patches/fix_makefile.patch +++ bloboats-1.0.1.dsfg/debian/patches/fix_makefile.patch @@ -0,0 +1,100 @@ +Index: bloboats-1.0.1/Makefile +=================================================================== +--- bloboats-1.0.1.orig/Makefile 2006-08-20 21:23:06.000000000 +0200 ++++ bloboats-1.0.1/Makefile 2006-08-20 21:43:35.000000000 +0200 +@@ -7,17 +7,19 @@ + ### Installation directory (Installation prefix) + # If you don't have root privileges, set this to /home/tentacleman/bloboats/ + # for example, otherwise /. Don't use ~ or other environment variables! +-PREFIX = / ++PREFIX ?= / ++ ++### Destination directory (Packager only) ++DESTDIR ?= + + ### Or if you don't want to run make install at all, uncomments the next line + # and comment the line below. Compile and run with './bin/bloboats' + #DATADIR = data +- +-DATADIR = $(PREFIX)/usr/games/bloboats/data ++DATADIR ?= $(PREFIX)/usr/games/bloboats/data + + ### If you do make install, you may perhaps want to set these +-BINARYDIR = $(PREFIX)/usr/bin +-CONFIGDIR = $(PREFIX)/etc ++BINARYDIR ?= $(PREFIX)/usr/bin ++CONFIGDIR ?= $(PREFIX)/etc + + PRIVATEDIR = ~/.bloboats + +@@ -41,7 +43,7 @@ + + + #This should probably be DEFAULT +-TARGET = DEFAULT ++TARGET ?= DEFAULT + + + ### Only some random settings below +@@ -133,17 +135,20 @@ + CXXFLAGS_CROSS_ = -g `$(SDLCONFIG) --cflags` -o bin/$(BINARY_) -O2 + CXXFLAGS_ = $(CXXFLAGS_$(TARGET)_) + +-all: config main ++all: config-stamp build-stamp + +-main: $(OBJ) ++build-stamp: build ++build: config-stamp $(OBJ) + $(CXX) $(OBJ) $(LIBS) $(CXXFLAGS) + $(STRIP) bin/$(BINARY) ++ touch build-stamp + + icon: + $(ICON_CMD) + $(CXX) -o bin/$(BINARY) $(OBJ) $(ICON) $(LIBS) + $(STRIP) bin/$(BINARY) + ++config-stamp: config + config: + echo "datadir $(DATADIR)" >bloboats.dirs + echo "privatedir $(PRIVATEDIR)" >>bloboats.dirs +@@ -153,16 +158,16 @@ + echo "#define NETWORK $(NETWORK)" >> src/compiling_settings.h + echo "#define MUSIC $(MUSIC)" >> src/compiling_settings.h + echo "#define DEBUG $(DEBUG)" >> src/compiling_settings.h ++ touch config-stamp + +-install: +- mkdir -p $(BINARYDIR)/ +- mkdir -p $(CONFIGDIR)/ +- cp bloboats.dirs $(CONFIGDIR)/ +- mkdir -p $(DATADIR)/ +- cp -R data/* $(DATADIR)/ +- cp bin/$(BINARY) $(BINARYDIR)/ +- chmod -R 744 $(DATADIR) +- chmod 755 `find $(DATADIR) -type d` ++install: build-stamp ++ mkdir -p $(DESTDIR)/$(BINARYDIR)/ ++ mkdir -p $(DESTDIR)/$(CONFIGDIR)/ ++ cp bloboats.dirs $(DESTDIR)/$(CONFIGDIR)/ ++ mkdir -p $(DESTDIR)/$(DATADIR)/ ++ cp -R data/* $(DESTDIR)/$(DATADIR)/ ++ cp bin/$(BINARY) $(DESTDIR)/$(BINARYDIR)/ ++ chmod 755 `find $(DESTDIR)/$(DATADIR) -type d` + + uninstall: + rm -f $(CONFIGDIR)/bloboats.dirs +@@ -177,7 +182,8 @@ + $(STRIP) bin/$(BINARY_) + + clean: +- rm bloboats.dirs +- rm src/*.o +- rm src/models/*.o +- rm bin/$(BINARY) ++ rm -f bloboats.dirs ++ rm -f src/*.o ++ rm -f src/models/*.o ++ rm -f bin/$(BINARY) ++ rm -f *-stamp --- bloboats-1.0.1.dsfg.orig/debian/patches/series +++ bloboats-1.0.1.dsfg/debian/patches/series @@ -0,0 +1 @@ +fix_makefile.patch --- bloboats-1.0.1.dsfg.orig/debian/README.Debian +++ bloboats-1.0.1.dsfg/debian/README.Debian @@ -0,0 +1,7 @@ += Bloboats 1.0.1.dsfg-1 = + +Audio files had been remove from the original tarball. We did this because +they failed §6 DFSG. +http://lists.alioth.debian.org/pipermail/pkg-games-devel/2006-September/001914.html + + Gonéri Le Bouder Tue, 17 Oct 2006 16:25:50 +0200 --- bloboats-1.0.1.dsfg.orig/debian/bloboats.desktop +++ bloboats-1.0.1.dsfg/debian/bloboats.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Bloboats +Comment=An arcade-like boat racing game +Icon=bloboats +Exec=bloboats +Terminal=false +Type=Application +Categories=Game;ArcadeGame; +StartupNotify=false --- bloboats-1.0.1.dsfg.orig/debian/changelog +++ bloboats-1.0.1.dsfg/debian/changelog @@ -0,0 +1,22 @@ +bloboats (1.0.1.dsfg-1ubuntu2) hardy; urgency=low + + * Added menu icon in bloboats.desktop (LP: #151939) + + -- Heikki Mäntysaari Fri, 12 Oct 2007 09:27:23 -0300 + +bloboats (1.0.1.dsfg-1ubuntu1) gutsy; urgency=low + + * Add call to dh_desktop to debian/rules. + * Add .desktop file (Closes LP: #126905). + * Change Maintainer/XSBC-Original-Maintainer field. + + -- William Lima Thu, 26 Jul 2007 19:32:27 -0300 + +bloboats (1.0.1.dsfg-1) unstable; urgency=low + + * Initial release (Closes: #383945) + * dfsg: sound files removed + - README.Debian created to explain the issue. + + -- Gonéri Le Bouder Fri, 22 Sep 2006 14:37:08 +0200 + --- bloboats-1.0.1.dsfg.orig/debian/bloboats.sgml +++ bloboats-1.0.1.dsfg/debian/bloboats.sgml @@ -0,0 +1,119 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + Goneri"> + Le Bouder"> + + aug 19, 2006"> + + 6"> + goneri@rulezlan.org"> + + BLOBOATS"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + A Boat racing game + + Bloboats is a boat game in the spirit of Elasto Mania or X-Moto, + introducing a handful of elements from Super Mario Bros -like games. + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage;. + + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + . + + + + + OPTIONS + + These programs don't have specific option. + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + --- bloboats-1.0.1.dsfg.orig/debian/bloboats.xpm +++ bloboats-1.0.1.dsfg/debian/bloboats.xpm @@ -0,0 +1,341 @@ +/* XPM */ +static char * bloboats_xpm[] = { +"32 32 306 2", +" c None", +". c #918F8F", +"+ c #9F9ED0", +"@ c #B4B4FF", +"# c #9A99BC", +"$ c #9D9A99", +"% c #9A9796", +"& c #A19E9C", +"* c #908EA7", +"= c #B4B5FF", +"- c #AFB0F7", +"; c #9999CA", +"> c #9393BB", +", c #A0A1D3", +"' c #9C9DC5", +") c #9A9BCD", +"! c #9593AD", +"~ c #B6B3FF", +"{ c #B6B4FF", +"] c #9593BD", +"^ c #A09C99", +"/ c #9C9998", +"( c #A29E9C", +"_ c #9997BE", +": c #B6B5FF", +"< c #B1B0F8", +"[ c #8A89B7", +"} c #9E9DDB", +"| c #9493C2", +"1 c #9897C8", +"2 c #AAAAEF", +"3 c #A19ED3", +"4 c #B7B2FF", +"5 c #B7B3FF", +"6 c #9895C5", +"7 c #9E9A99", +"8 c #9F9C9B", +"9 c #A8A5DC", +"0 c #B7B4FF", +"a c #ABA9EF", +"b c #B6AFFB", +"c c #B8B1FF", +"d c #B8B2FF", +"e c #A49FD5", +"f c #A19E9D", +"g c #9E9B9A", +"h c #939091", +"i c #B2ADF3", +"j c #B8B3FF", +"k c #ACA8EF", +"l c #B9B0FF", +"m c #B9B1FF", +"n c #A39DD4", +"o c #979493", +"p c #8D8A8F", +"q c #8E8AA2", +"r c #B8B1FD", +"s c #B9B2FF", +"t c #AEA7EF", +"u c #BAAFFF", +"v c #BAB0FF", +"w c #B3AAEF", +"x c #ADA4E4", +"y c #B6ADF5", +"z c #BAB1FF", +"A c #AFA6EF", +"B c #BBAFFF", +"C c #BBB0FF", +"D c #BBB1FF", +"E c #AFA5EF", +"F c #BDAEFF", +"G c #BDAFFF", +"H c #BDB0FF", +"I c #B1A4EF", +"J c #BEADFF", +"K c #BEAEFF", +"L c #BEAFFF", +"M c #B2A3EF", +"N c #BFACFF", +"O c #BFADFF", +"P c #8B7FAC", +"Q c #9689BF", +"R c #BFAEFF", +"S c #B3A2EF", +"T c #C0ABFF", +"U c #C0ACFF", +"V c #C0ADFF", +"W c #AF9EE3", +"X c #614756", +"Y c #604C5F", +"Z c #BBA9F7", +"` c #B4A1EF", +" . c #C1ABFF", +".. c #C1ACFF", +"+. c #C1ABFE", +"@. c #C0AAFD", +"#. c #C1ACFE", +"$. c #B5A1EF", +"%. c #C2AAFF", +"&. c #C2ABFF", +"*. c #B6A0EF", +"=. c #C4A9FF", +"-. c #C4AAFF", +";. c #C2A9FD", +">. c #B79FEF", +",. c #C5A8FF", +"'. c #C5A9FF", +"). c #AEA2F5", +"!. c #B6A5F9", +"~. c #9A8AB7", +"{. c #8F8B90", +"]. c #8C888F", +"^. c #898392", +"/. c #C2A7FB", +"(. c #B89EEF", +"_. c #C6A7FF", +":. c #C6A8FF", +"<. c #90AFE4", +"[. c #B4BCF9", +"}. c #C0B0FC", +"|. c #A293BC", +"1. c #9E9997", +"2. c #A19D9B", +"3. c #948F92", +"4. c #C2A6F8", +"5. c #B99DEF", +"6. c #C7A7FF", +"7. c #BACBFD", +"8. c #B9CFFD", +"9. c #C6AAFF", +"0. c #A495BB", +"a. c #A09D9C", +"b. c #918F8E", +"c. c #BFA2F2", +"d. c #C7A8FF", +"e. c #C5A6FF", +"f. c #C4A5FF", +"g. c #C2A4FF", +"h. c #BA9EFF", +"i. c #AC93F2", +"j. c #C8A6FF", +"k. c #C8A7FF", +"l. c #9B8FAA", +"m. c #A2A09E", +"n. c #9E9B9B", +"o. c #949190", +"p. c #C0A1F3", +"q. c #C7A6FD", +"r. c #C5A5FE", +"s. c #BEA0FF", +"t. c #AA92FF", +"u. c #9B89FF", +"v. c #8F80FF", +"w. c #8177FF", +"x. c #7972FF", +"y. c #7770FC", +"z. c #C9A5FF", +"A. c #C9A6FF", +"B. c #9C92A6", +"C. c #A39E9D", +"D. c #959291", +"E. c #BE9FEC", +"F. c #C1A0FF", +"G. c #AB93FF", +"H. c #7283D2", +"I. c #737AE8", +"J. c #CAA4FF", +"K. c #CAA5FF", +"L. c #988EA2", +"M. c #A09C9B", +"N. c #999694", +"O. c #9A89DF", +"P. c #8B7DFF", +"Q. c #7C73FF", +"R. c #7772FC", +"S. c #5272CD", +"T. c #5771D3", +"U. c #7872FE", +"V. c #CCA3FF", +"W. c #CCA4FF", +"X. c #CBA4FF", +"Y. c #BE9CFF", +"Z. c #928B9A", +"`. c #9A9795", +" + c #9D9998", +".+ c #7872D2", +"++ c #7A72FF", +"@+ c #7872FD", +"#+ c #5670D1", +"$+ c #556FD0", +"%+ c #7672FA", +"&+ c #BA98FF", +"*+ c #C49EFF", +"=+ c #CBA2FF", +"-+ c #CDA3FF", +";+ c #C9A1FF", +">+ c #C09CFF", +",+ c #B997FF", +"'+ c #B495FF", +")+ c #A189FF", +"!+ c #9683FF", +"~+ c #8478FF", +"{+ c #7C73FE", +"]+ c #878488", +"^+ c #A09C9A", +"/+ c #9B9897", +"(+ c #7770D0", +"_+ c #7A71FF", +":+ c #5F72DD", +"<+ c #5873D5", +"[+ c #7072F2", +"}+ c #776FFC", +"|+ c #7E73FF", +"1+ c #8075FF", +"2+ c #8175FF", +"3+ c #7F74FF", +"4+ c #7A71FE", +"5+ c #8F8D8C", +"6+ c #9E9A98", +"7+ c #A39F9E", +"8+ c #756FC8", +"9+ c #6E72F0", +"0+ c #6A72EB", +"a+ c #7172F4", +"b+ c #7A71FC", +"c+ c #8D8B8C", +"d+ c #9E9B99", +"e+ c #807AC4", +"f+ c #7271F5", +"g+ c #7171F4", +"h+ c #7971FE", +"i+ c #7B71FF", +"j+ c #7A71EA", +"k+ c #93908F", +"l+ c #A29F9D", +"m+ c #9D9A9A", +"n+ c #9C9997", +"o+ c #7D77B5", +"p+ c #786FFC", +"q+ c #7B73DE", +"r+ c #9F9C9A", +"s+ c #A49F9E", +"t+ c #9D9997", +"u+ c #8680BD", +"v+ c #736BD6", +"w+ c #9C9A98", +"x+ c #8580B8", +"y+ c #7B70FF", +"z+ c #786EFC", +"A+ c #7870D2", +"B+ c #7E79A1", +"C+ c #7C70FF", +"D+ c #796FF0", +"E+ c #7B76A5", +"F+ c #9D9A98", +"G+ c #A29E9D", +"H+ c #817D94", +"I+ c #7C73E5", +"J+ c #7A70E3", +"K+ c #786EE1", +"L+ c #796FE2", +"M+ c #7B72E4", +"N+ c #776DE0", +"O+ c #7C72E5", +"P+ c #796FE1", +"Q+ c #776EDF", +"R+ c #7B70F1", +"S+ c #7F78BC", +"T+ c #828089", +"U+ c #999696", +"V+ c #989595", +"W+ c #9F9B9A", +"X+ c #A19D9C", +"Y+ c #8D8A8A", +"Z+ c #8A8887", +"`+ c #908E8D", +" @ c #8E8C8B", +".@ c #908D8C", +"+@ c #918E8D", +"@@ c #949191", +"#@ c #928F8E", +"$@ c #8F8D8D", +"%@ c #92908F", +"&@ c #949291", +"*@ c #796EEF", +"=@ c #7670B2", +"-@ c #8E8C94", +";@ c #999695", +">@ c #9B9796", +",@ c #A09E9D", +"'@ c #9B9898", +")@ c #989593", +"!@ c #9E9C9A", +"~@ c #9F9D9C", +"{@ c #9C9999", +"]@ c #786DFB", +"^@ c #7B70F0", +"/@ c #7D77B9", +"(@ c #868287", +"_@ c #9A9695", +":@ c #A39F9D", +"<@ c #9E9C9B", +"[@ c #9C9896", +"}@ c #9B9896", +"|@ c #A09B9A", +"1@ c #9B9795", +". + @ @ @ @ @ @ @ @ @ @ @ # $ % & * = = = = = = = = - ; > , ' ) ", +"! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ { { ] ^ / ( _ { { { { { { : : < [ } | 1 2 ", +"3 4 4 4 4 4 4 4 5 5 5 5 5 6 7 8 $ 9 5 5 5 0 0 0 0 0 0 0 0 0 0 a ", +"b c c c c c d d d d d d d e f g h i j j j j j j j j j j j j j k ", +"l l l l l m m m m m m m m n o p q r s s s s s s s s s s s s s t ", +"u u u v v v v v v v v v v w x y z z z z z z z z z z z z z z z A ", +"B B B B B B B B B B B B C C C C C C C C C C C C C D C C C C C E ", +"F F F F F F F F F F G G G G G G G G G G G G H H H H H G G G G I ", +"J J J J J J J K K K K K K K K K K K K L L L L L L L L L K K K M ", +"N N N N O O O O O O O O O O O O P Q R R R R R R R R R R O O O S ", +"T U U U U U U U U U U U U U V W X Y Z V V V V V V V V V V U U ` ", +" . . . . . . . . . . .........+.@.#......................... .$.", +"%.%.%.%.%.%.%.%.%.%.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.%.%.%.*.", +"=.=.=.=.=.=.=.=.-.-.-.-.-.;.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.=.=.>.", +",.,.,.,.,.'.'.'.'.'.).!.'.~.{.].^./.'.'.'.'.'.'.'.'.'.'.'.'.,.(.", +"_._.:.:.:.:.:.:.:.:.<.[.}.|.1.2.3.4.:.:.:.:.:.:.:.:.:.:.:.:.:.5.", +"6.6.6.6.6.6.6.6.6.6.7.8.9.0.a.7 b.c.d.6.6.6.6.6.6.6.6.e.f.g.h.i.", +"j.j.j.j.j.j.j.j.j.k.k.k.k.l.m.n.o.p.k.k.j.q.r.s.t.u.v.w.x.x.x.y.", +"z.z.z.z.z.z.A.A.A.A.A.A.A.B.C.7 D.E.z.F.G.H.I.x.x.x.x.x.x.x.x.y.", +"J.J.J.K.K.K.K.K.K.K.K.K.K.L.M.% N.O.P.Q.R.S.T.U.x.x.x.x.x.x.x.y.", +"V.V.V.W.W.W.W.W.W.W.W.X.Y.Z.$ `. +.+++++@+#+$+%+++++++++++++++y.", +"&+*+=+-+-+;+>+,+'+)+!+~+{+]+^+/+M.(+++++_+:+<+[+_+_+_+_+_+_+_+}+", +"_+|+1+2+2+3+Q._+_+_+_+_+4+5+6+M.7+8+_+_+_+9+0+a+_+_+_+_+_+_+_+}+", +"_+_+_+_+_+_+_+_+_+_+_+_+b+c+f d+$ e+_+_+_+f+g+h+_+_+_+_+_+_+_+}+", +"i+i+i+i+i+i+i+i+i+i+i+i+j+k+l+m+n+o+i+i+i+i+i+i+i+i+i+i+i+i+i+p+", +"i+i+i+i+i+i+i+i+i+i+i+i+q+r+s+7 t+u+i+i+i+i+i+i+i+i+i+i+i+i+i+p+", +"i+i+i+i+i+i+i+i+i+i+i+i+v+w+$ N.f x+i+i+i+i+i+i+i+y+y+y+y+y+y+z+", +"i+i+i+i+i+i+i+i+i+i+i+i+A+$ d+% l+B+y+y+y+y+y+y+y+y+y+y+y+y+y+z+", +"C+C+C+C+C+C+C+C+C+C+C+D+E+/+^ F+G+H+I+J+K+K+L+M+N+K+L+O+L+K+P+Q+", +"C+C+C+C+C+C+C+C+C+R+S+T+U+V+g W+X+o Y+Z+Z+`+ @o..@+@@@#@$@%@&@%@", +"C+C+C+C+C+C+C+*@=@-@g /+$ ;@& g m+>@8 ,@/ $ '@X+8 $ )@!@~@/ 7 {@", +"]@]@]@]@]@^@/@(@_@a.a.% M./ :@<@[@n+f M.}@|@/ G+n.1@g X+X+/+6+$ "}; --- bloboats-1.0.1.dsfg.orig/debian/compat +++ bloboats-1.0.1.dsfg/debian/compat @@ -0,0 +1 @@ +5 --- bloboats-1.0.1.dsfg.orig/debian/control +++ bloboats-1.0.1.dsfg/debian/control @@ -0,0 +1,27 @@ +Source: bloboats +Section: games +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Debian Games Team +Uploaders: Gonéri Le Bouder +Build-Depends: debhelper (>= 5.0.0), libglib2.0-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libsdl-net1.2-dev, quilt, docbook-to-man +Standards-Version: 3.7.2 + +Package: bloboats +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: a boat racing game + Bloboats is an arcade-like boat racing game in the hybrid spirit of + Mario-like platform jumpers and elasto mania / xmoto. + . + The objective of Bloboats is to reach MS Enterprise as fast as possible to + save if from the hands of the terrible Tentacle Monsters of an Unknown Master + and the same time beat your friend and laugh at his or her puny time. + . + The journey starts from a place called Tutorial, somewhere in the United + States, and somehow the player ends up in the famous HV-Arena of Helsinki. + During the trip a number of MS Enterprises are saved, luckily, from the + hands of the terrible Tentacle Monsters of an Unknown Master, who actually + is your dad. Or then ain't. :-) + . + Homepage: http://bloboats.dy.fi/about.php --- bloboats-1.0.1.dsfg.orig/debian/copyright +++ bloboats-1.0.1.dsfg/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Gonéri Le Bouder on +Sun, 20 Aug 2006 21:33:20 +0200. + + Copyright (C) 2006 Markus Kettunen + + This license holds for the program itself: the source code + and the data files except some of the sounds files. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- bloboats-1.0.1.dsfg.orig/debian/menu +++ bloboats-1.0.1.dsfg/debian/menu @@ -0,0 +1,3 @@ +?package(bloboats):needs="X11" section="Games/Arcade"\ + title="Bloboats" command="/usr/games/bloboats" \ + icon="bloboats.xpm" --- bloboats-1.0.1.dsfg.orig/debian/rules +++ bloboats-1.0.1.dsfg/debian/rules @@ -0,0 +1,56 @@ +#!/usr/bin/make -f +# -*- makefile -*- +#export DH_VERBOSE=1 + + +build: build-stamp +build-stamp: + dh_testdir + QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 + make DATADIR=/usr/share/games/bloboats + docbook-to-man debian/bloboats.sgml > debian/bloboats.6 + touch build-stamp + +clean: + dh_testdir + # first make clean failes + - make clean + QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 + rm -f debian/bloboats.6 + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + make DATADIR=/usr/share/games/bloboats DESTDIR=debian/bloboats BINARYDIR=/usr/games install + # xpm + mkdir -p debian/bloboats/usr/share/pixmaps + cp debian/bloboats.xpm debian/bloboats/usr/share/pixmaps + # desktop + mkdir -p debian/bloboats/usr/share/applications + cp debian/bloboats.desktop debian/bloboats/usr/share/applications + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs INTRO.txt readme.txt debian/README.Debian + dh_installman debian/bloboats.6 + dh_installmenu + dh_desktop + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install