The following commit has been merged in the master branch:
commit 8b34a1136216bcd9952af1cd5f25ddeb3e6b399d
Author: Mahyuddin Susanto <[email protected]>
Date:   Fri Sep 9 09:17:05 2011 +0700

    rewriting rules

diff --git a/debian/rules b/debian/rules
index a1c0473..742b25f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,63 +1,18 @@
 #!/usr/bin/make -f
+# -*- makefile -*-
+%:
+       dh ${@}
 
-configure: configure-stamp
-configure-stamp:
-       dh_testdir
-       QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2      
+override_dh_auto_install:
        PREFIX=/usr sh compile.sh
+       dh_auto_install
        
-       touch configure-stamp
-
-
-build: build-stamp
-build-stamp: configure-stamp 
-       dh_testdir
-
+override_dh_installdirs:
        $(MAKE) x11
-
-       touch build-stamp
-
-clean:
-       dh_testdir
-       dh_testroot
-       
-       # Add here commands to clean up after the build process.
-       [ ! -f Makefile ] || $(MAKE) x11-clean
-       QUILT_PATCHES=debian/patches quilt pop -R -a || test $$? = 2
-       rm -rf .pc 
-       dh_clean build-stamp configure-stamp
-
-install: build
-       dh_testdir
-       dh_testroot
-       dh_prep
-       dh_installdirs
        sed -e 's,\@PREFIX\@,/usr,' ./lib/x11/libglfw.pc.in > 
./lib/x11/libglfw.pc
        make x11-install PREFIX=$(CURDIR)/debian/tmp/usr
        cp lib/x11/libglfw.so debian/tmp/usr/lib/libglfw.so.2.6
 
+override_dh_installdocs:
+       dh_installdocs readme.html
 
-# Build architecture-independent files here.
-binary-indep:
-# nothing to do
-
-# Build architecture-dependent files here.
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-       dh_installdocs  readme.html
-       dh_installchangelogs
-       dh_install
-       dh_link
-       dh_strip
-       dh_compress
-       dh_fixperms
-       dh_makeshlibs
-       dh_shlibdeps
-       dh_installdeb
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure

-- 
glfw packaging

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to