Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. #!/usr/bin/make -f
  2. # -*- makefile -*-
  3.  
  4. # Uncomment this to turn on verbose mode.
  5. #export DH_VERBOSE=1
  6.  
  7. build: build-stamp
  8. build-stamp:
  9.         dh_testdir
  10.         dh_testroot
  11.         $(MAKE) build=release prefix=$(CURDIR)/debian/tmp/usr install
  12.         touch $@
  13.  
  14. clean:
  15.         dh_testdir
  16.         dh_testroot
  17.         rm -f build-stamp
  18.         -$(MAKE) clean
  19.         dh_clean
  20.  
  21. # Build architecture-independent files here.
  22. binary-indep: build
  23.         dh_testdir
  24.         dh_testroot
  25.         dh_installdirs
  26.         dh_installdocs
  27.         dh_installchangelogs
  28.         dh_installmenu
  29.         dh_installmime
  30.         dh_installman
  31.         dh_compress
  32.  
  33. # Build architecture-dependent files here.
  34. binary-arch: build
  35.         dh_testdir
  36.         dh_testroot
  37.         dh_installdirs -a
  38.         dh_install -a
  39.         dh_strip -a
  40.         dh_fixperms -a
  41.         dh_makeshlibs -a
  42.         dh_installdeb -a
  43.         dh_shlibdeps -a
  44.         dh_gencontrol -a
  45.         dh_md5sums -a
  46.         dh_builddeb -a
  47.  
  48. binary: binary-indep binary-arch
  49. .PHONY: build clean binary-indep binary-arch binary
  50.