Hi, Just some further Debian patches to ease building.
This does:
- fixes up some Makefile indentation
- remove README.Debian vestige from clean section of Makefile
- add #/usr/bin/make -f header and amends devguide
- add debian/compat so we can build on Debian 3.1 and above
without changes and appropriate Makefile modifications.
Please apply.
Thanks,
Anand
--
`When any government, or any church for that matter, undertakes to say to
its subjects, "This you may not read, this you must not see, this you are
forbidden to know," the end result is tyranny and oppression no matter how
holy the motives' -- Robert A Heinlein, "If this goes on --"
diff -urN gtk-gnutella-0.96.1/debian/compat gtk-gnutella-0.96.1-ak/debian/compat
--- gtk-gnutella-0.96.1/debian/compat 1970-01-01 10:00:00.000000000 +1000
+++ gtk-gnutella-0.96.1-ak/debian/compat 2006-02-24 00:10:10.000000000
+1100
@@ -0,0 +1 @@
+4
diff -urN gtk-gnutella-0.96.1/debian/rules gtk-gnutella-0.96.1-ak/debian/rules
--- gtk-gnutella-0.96.1/debian/rules 2006-02-23 03:50:18.000000000 +1100
+++ gtk-gnutella-0.96.1-ak/debian/rules 2006-02-24 00:10:55.000000000 +1100
@@ -1,3 +1,4 @@
+#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
#
@@ -28,9 +29,9 @@
CFLAGS += -O2
endif
- ifeq ($(DEB_BUILD_ARCH), alpha)
+ifeq ($(DEB_BUILD_ARCH), alpha)
CFLAGS += -mieee
- endif
+endif
config-stamp: Configure
dh_testdir
@@ -63,7 +64,6 @@
# Add here commands to clean up after the build process.
-$(MAKE) clobber
- rm -f debian/README.debian
dh_clean
@@ -87,9 +87,9 @@
dh_installdirs -s
# Add here commands to install the arch part of the package into
- # debian/tmp
- $(MAKE) install INSTALL_PREFIX=`pwd`/debian/tmp
- $(MAKE) install.man INSTALL_PREFIX=`pwd`/debian/tmp
+ # debian/gtk-gnutella
+ $(MAKE) install INSTALL_PREFIX=`pwd`/debian/gtk-gnutella
+ $(MAKE) install.man INSTALL_PREFIX=`pwd`/debian/gtk-gnutella
dh_install -s
# Must not depend on anything. This is to be called by
diff -urN gtk-gnutella-0.96.1/doc/devguide/RELEASE
gtk-gnutella-0.96.1-ak/doc/devguide/RELEASE
--- gtk-gnutella-0.96.1/doc/devguide/RELEASE 2006-02-23 03:50:18.000000000
+1100
+++ gtk-gnutella-0.96.1-ak/doc/devguide/RELEASE 2006-02-24 00:11:11.000000000
+1100
@@ -78,7 +78,7 @@
12. Build the debian package:
- fakeroot make -f debian/rules binary
+ fakeroot debian/rules binary
This will generate file ../gtk-gnutella_0.92.1-0_i386.deb
signature.asc
Description: Digital signature
