From: Sebastian Harl Date: Mon, 31 Jan 2011 14:17:05 +0000 (+0100) Subject: rules: Cleaned up a bit. X-Git-Tag: libkohana2-php-2.3.4-1~13 X-Git-Url: https://git.tokkee.org/?p=pkg-libkohana2-php.git;a=commitdiff_plain;h=e89ce5f51771ce4ff75676db0daccfdf34e6a363 rules: Cleaned up a bit. --- diff --git a/debian/rules b/debian/rules index 1575883..661b99c 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f -# -*- makefile -*- +# debian/rules for kohana2 +# +# Written by Sven Velt and Sebastian Harl . # 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