Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Anonymous
Monday, November 5th, 2007 at 3:13:39pm UTC 

  1. #!/usr/bin/make -f
  2. # Sample debian/rules that uses debhelper.
  3. # GNU copyright 1997 by Joey Hess.
  4. #
  5. # This version is for a hypothetical package that builds an
  6. # architecture-dependant package, as well as an architecture-independent
  7. # package.
  8.  
  9. # Uncomment this to turn on verbose mode.
  10. #export DH_VERBOSE=1
  11.  
  12. # This is the debhelper compatability version to use.
  13.  
  14.  
  15. configure: configure-stamp
  16. configure-stamp:
  17.         dh_testdir
  18.         # Add here commands to configure the package.
  19.         env LDFLAGS=-lm ./configure --prefix=/usr --mandir=\$${prefix}/share/man --enable-mmx --enable-sse3 --enable-ebp --enable-ebx
  20.  
  21.         touch configure-stamp
  22.  
  23. build: configure-stamp build-stamp
  24. build-stamp:
  25.         dh_testdir
  26.  
  27.         # Add here commands to compile the package.
  28.         $(MAKE)
  29.  
  30.         touch build-stamp
  31.  
  32. clean:
  33.         dh_testdir
  34.         dh_testroot
  35.         rm -f build-stamp configure-stamp
  36.  
  37.         # Add here commands to clean up after the build process.
  38.         -$(MAKE) distclean
  39.  
  40.         dh_clean
  41.  
  42. install: DH_OPTIONS=
  43. install: build
  44.         dh_testdir
  45.         dh_testroot
  46.         dh_clean -k
  47.         dh_installdirs
  48.  
  49.         # Add here commands to install the package into debian/xdtv
  50. #       $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr ROOT=$(CURDIR)/debian/tmp
  51.         $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
  52.  
  53.         dh_movefiles
  54.  
  55. # Build architecture-independent files here.
  56. # Pass -i to all debhelper commands in this target to reduce clutter.
  57. binary-indep: build install
  58. #       dh_testdir -i
  59. #       dh_testroot -i
  60. #       dh_installdebconf -i
  61. #       dh_installdocs -i
  62. #       dh_installdocs -i
  63. #       dh_installexamples -i
  64. #       dh_installmenu -i
  65. #       dh_installmenu
  66. #       dh_installlogrotate -i
  67. #       dh_installemacsen -i
  68. #       dh_installpam -i
  69. #       dh_installmime -i
  70. #       dh_installinit -i
  71. #       dh_installcron -i
  72. #       dh_installman -i
  73. #       dh_installinfo -i
  74. #       dh_undocumented -i
  75. #       dh_installchangelogs
  76. #       dh_installchangelogs ChangeLog -i
  77. #       dh_link -i
  78. #       dh_compress
  79. #       dh_compress -i
  80. #       dh_fixperms  -Xxdtv_v4l-conf
  81. #       dh_installdeb
  82. #       dh_perl -i
  83. #       dh_gencontrol
  84. #       dh_md5sums
  85. #       dh_builddeb
  86.  
  87. # Build architecture-dependent files here.
  88. binary-arch: build install
  89.         dh_testdir -a
  90.         dh_testroot -a
  91.         dh_installdebconf -a
  92.         dh_installdocs -a
  93. #       dh_installexamples -a
  94.         dh_installmenu -a
  95. #       dh_installlogrotate -a
  96. #       dh_installemacsen -a
  97. #       dh_installpam -a
  98. #       dh_installmime -a
  99. #       dh_installinit -a
  100. #       dh_installcron -a
  101.         dh_installman -a
  102. #       dh_installinfo -a
  103. #       dh_undocumented -a
  104.         dh_installchangelogs -a
  105.         dh_strip -a
  106. #       dh_link -a
  107. #       dh_compress -a
  108.         dh_compress
  109.         dh_fixperms -X xdtv_v4l-conf
  110. #       dh_makeshlibs -a
  111.         dh_installdeb -a
  112. #       dh_perl -a
  113.         dh_shlibdeps -a
  114.         dh_gencontrol -a
  115.         dh_md5sums -a
  116.         dh_builddeb -a
  117.  
  118. binary: binary-indep binary-arch
  119. .PHONY: build clean binary-indep binary-arch binary install configure

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right