[Pkg-gambas-commits] [SCM] gambas3 branch, master, updated. debian/2.99.3-1-13-g64e7c61

José L?=.=?UTF-8?Q? Redrejo Rodríguez jredrejo at debian.org
Thu May 3 18:21:12 UTC 2012


The following commit has been merged in the master branch:
commit 0aad9898eeeab6be1b8be8e4fce1975e68875d84
Author: José L. Redrejo Rodríguez <jredrejo at debian.org>
Date:   Thu May 3 20:15:40 2012 +0200

    cleaning debian/rules

diff --git a/debian/rules b/debian/rules
index bfee689..59b1a8c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,19 +14,19 @@ ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 	CFLAGS = -g
 endif
 
-configure:
 
-	./reconf-all
+configure:
+	dh_autoreconf
 
 config.status: configure
 
-	CFLAGS="$(CFLAGS)" ./configure --host=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) --build=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -C --prefix=/usr --with-sdl-includes=/usr/include/SDL --with-sdl-libraries=/usr/lib --with-libxml-includes=/usr/include/libxml2 --with-xslt-includes=/usr/include/libxslt
+	CFLAGS="$(CFLAGS)" ./configure --host=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) --build=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -C --prefix=/usr --with-sdl-includes=/usr/include/SDL --with-sdl-libraries=/usr/lib --with-libxml-includes=/usr/include/libxml2 --with-xslt-includes=/usr/include/libxslt --disable-gsl
 	touch configure-stamp
 
 build: build-stamp
 
 build-stamp: config.status
-
+	dh_testdir
 	$(MAKE) prefix=$(CURDIR)/debian/tmp/usr
 	touch build-stamp
 
@@ -35,26 +35,24 @@ clean:
 	rm -f build-stamp configure-stamp
 	rm -f config.log
 	[ ! -f Makefile ] || $(MAKE) distclean
-	rm -f debian/*.files
-	find -name warnings.log -exec rm -f \{} \;
-	find -name ltmain.sh -exec rm -f \{} \;
-	find -name configure -exec rm -f \{} \;
-	find -name "*.gambas" -exec rm -f \{} \;
-	find -name libtool.m4 -exec rm -f \{} \;
-	find -name ltdl.m4 -exec rm -f \{} \;
-	find -name ltoptions.m4 -exec rm -f \{} \;
-	find -name ltsugar.m4 -exec rm -f \{} \;
-	find -name ltversion.m4 -exec rm -f \{} \;
-	find -name lt~obsolete.m4 -exec rm -f \{} \;
-	chmod 644 gb.sdl/COPYING
-	rm -f Makefile.in
+	find . -name ".action" -print0 |xargs -0 rm -Rf
+	find . -name ".gambas" -print0 |xargs -0 rm -Rf
+#	find . -name ".deps" -print0 |xargs -0 rm -Rf
+	find . -name "*.gambas" -delete
+	find . -name "DISABLED" -delete
+	find . -name "warnings.log" -delete
+	find . -name ".info" -delete
+	find . -name ".list" -delete
+	find . -name ".startup" -delete
+	dh_autoreconf_clean
 	dh_clean
+	
 
 install: build
 
 	dh_prep
 	$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
-	find $(CURDIR)/debian/tmp/usr -name "*.la" -exec rm -f \{} \;
+	find $(CURDIR)/debian/tmp/usr -name "*.la" -delete
 	find $(CURDIR)/debian/tmp/usr -name *.png -perm /ugo+x -exec chmod 644 \{} \;
 
 binary-indep: build install

-- 
Gambas 3



More information about the Pkg-gambas-commits mailing list