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

Advertising

Anonymous
Monday, November 5th, 2007 at 4:17:29pm 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.         install -m 755 xdtv_makedvd.sh $(DESTDIR)/usr/bin/xdtv_makedvd
  53.         install -m 755 xdtv_record.sh $(DESTDIR)/usr/bin/xdtv_record
  54.         install -m 755 xdtv_scan.sh $(DESTDIR)/usr/bin/xdtv_scan
  55.         dh_movefiles
  56.  
  57. # Build architecture-independent files here.
  58. # Pass -i to all debhelper commands in this target to reduce clutter.
  59. binary-indep: build install
  60. #       dh_testdir -i
  61. #       dh_testroot -i
  62. #       dh_installdebconf -i
  63. #       dh_installdocs -i
  64. #       dh_installdocs -i
  65. #       dh_installexamples -i
  66. #       dh_installmenu -i
  67. #       dh_installmenu
  68. #       dh_installlogrotate -i
  69. #       dh_installemacsen -i
  70. #       dh_installpam -i
  71. #       dh_installmime -i
  72. #       dh_installinit -i
  73. #       dh_installcron -i
  74. #       dh_installman -i
  75. #       dh_installinfo -i
  76. #       dh_undocumented -i
  77. #       dh_installchangelogs
  78. #       dh_installchangelogs ChangeLog -i
  79. #       dh_link -i
  80. #       dh_compress
  81. #       dh_compress -i
  82. #       dh_fixperms  -Xxdtv_v4l-conf
  83. #       dh_installdeb
  84. #       dh_perl -i
  85. #       dh_gencontrol
  86. #       dh_md5sums
  87. #       dh_builddeb
  88.  
  89. # Build architecture-dependent files here.
  90. binary-arch: build install
  91.         dh_testdir -a
  92.         dh_testroot -a
  93.         dh_installdebconf -a
  94.         dh_installdocs -a
  95. #       dh_installexamples -a
  96.         dh_installmenu -a
  97. #       dh_installlogrotate -a
  98. #       dh_installemacsen -a
  99. #       dh_installpam -a
  100. #       dh_installmime -a
  101. #       dh_installinit -a
  102. #       dh_installcron -a
  103.         dh_installman -a
  104. #       dh_installinfo -a
  105. #       dh_undocumented -a
  106.         dh_installchangelogs -a
  107.         dh_strip -a
  108. #       dh_link -a
  109. #       dh_compress -a
  110.         dh_compress
  111.         dh_fixperms -X xdtv_v4l-conf
  112. #       dh_makeshlibs -a
  113.         dh_installdeb -a
  114. #       dh_perl -a
  115.         dh_shlibdeps -a
  116.         dh_gencontrol -a
  117.         dh_md5sums -a
  118.         dh_builddeb -a
  119.  
  120. binary: binary-indep binary-arch
  121. .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
worth-right