Code

rules: Cleaned up a bit.
authorSebastian Harl <sh@tokkee.org>
Mon, 31 Jan 2011 14:17:05 +0000 (15:17 +0100)
committerSebastian Harl <sh@tokkee.org>
Mon, 31 Jan 2011 14:17:05 +0000 (15:17 +0100)
debian/rules

index 157588306c270892036d48db33fc6394768367e4..661b99cc13ebc862fb67034bc8e532fa9ddc4722 100755 (executable)
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
+# debian/rules for kohana2
+#
+# Written by Sven Velt <sven@velt.de> and Sebastian Harl <tokkee@debian.org>.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
@@ -7,22 +9,10 @@
 get-orig-source:
        uscan --force --verbose --repack --rename
 
-configure: configure-stamp
-configure-stamp:
-       dh_testdir
-       # Add here commands to configure the package.
-
-       touch configure-stamp
-
-
 build: build-stamp
-build-stamp: configure-stamp
+build-stamp:
        dh_testdir
 
-       # Add here commands to compile the package.
-       #$(MAKE)
-       #docbook-to-man debian/libkohana-php.sgml > libkohana-php.1
-
        touch $@
 
 clean:
@@ -38,11 +28,12 @@ install: build
        dh_prep
        dh_installdirs
 
-       # Add here commands to install the package into debian/libkohana2-php.
        cp -a system $(CURDIR)/debian/libkohana2-php/usr/share/php/kohana2/
-       # Remove DejaVu-Fonts and create symlink
+
+       # remove DejaVu-Fonts and create symlink
        rm -rf $(CURDIR)/debian/libkohana2-php/usr/share/php/kohana2/system/fonts
-       ln -s /usr/share/fonts/truetype/ttf-dejavu $(CURDIR)/debian/libkohana2-php/usr/share/php/kohana2/system/fonts
+       ln -s /usr/share/fonts/truetype/ttf-dejavu \
+               $(CURDIR)/debian/libkohana2-php/usr/share/php/kohana2/system/fonts
 
        # fix permissions
        for file in `find $(CURDIR)/debian/libkohana2-php -name '*.php'`; do \
@@ -53,39 +44,22 @@ install: build
        rmdir debian/libkohana2-php/usr/share/php/kohana2/system/i18n/el_GR/
        rmdir debian/libkohana2-php/usr/share/php/kohana2/system/tests/
 
-# Build architecture-independent files here.
 binary-indep: install
        dh_testdir
        dh_testroot
        dh_installchangelogs
        dh_installdocs
        dh_installexamples
-#      dh_install
-#      dh_installmenu
-#      dh_installdebconf
-#      dh_installlogrotate
-#      dh_installemacsen
-#      dh_installpam
-#      dh_installmime
-#      dh_installinit
-#      dh_installcron
-#      dh_installinfo
-#      dh_installwm
-#      dh_installudev
        dh_lintian
-#      dh_undocumented
        dh_installman
        dh_link
        dh_compress
        dh_fixperms
-#      dh_perl
-#      dh_python
        dh_installdeb
        dh_gencontrol
        dh_md5sums
        dh_builddeb
 
-# Build architecture-dependent files here.
 binary-arch: install
 
 binary: binary-indep binary-arch