[Pkg-mono-svn-commits] rev 1273 - mbloggy/trunk/debian
Pablo Fischer
pabl0-guest@haydn.debian.org
Fri, 06 Aug 2004 15:13:57 -0600
Author: pabl0-guest
Date: 2004-08-06 15:13:45 -0600 (Fri, 06 Aug 2004)
New Revision: 1273
Modified:
mbloggy/trunk/debian/rules
Log:
some patches
Modified: mbloggy/trunk/debian/rules
===================================================================
--- mbloggy/trunk/debian/rules 2004-08-06 21:10:11 UTC (rev 1272)
+++ mbloggy/trunk/debian/rules 2004-08-06 21:13:45 UTC (rev 1273)
@@ -1,45 +1,26 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-export DH_COMPAT=3
+export DH_COMPAT=4
-# 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)
-
export MONO_SHARED_DIR=$(CURDIR)/.wabi
+build: build-stamp
-CFLAGS = -Wall -g
-
-config.status: configure
+build-stamp:
dh_testdir
mkdir -p $$MONO_SHARED_DIR
# Add here commands to configure the package.
- CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
-
-
-build: build-stamp
-
-build-stamp: config.status
- dh_testdir
-
- # Add here commands to compile the package.
+ ./configure --prefix=/usr
$(MAKE)
- #manpages
- pod2man $(CURDIR)/debian/mbloggy.pod > $(CURDIR)/debian/mbloggy.1
+ touch-build-stamp
- touch build-stamp
-
clean:
dh_testdir
dh_testroot
rm -f build-stamp
-
# Add here commands to clean up after the build process.
- -$(MAKE) distclean
+ -$(MAKE) clean
rm -rf $$MONO_SHARED_DIR
rm -rf $(CURDIR)/debian/mbloggy.1
dh_clean