rules
上传用户:gzpyjq
上传日期:2013-01-31
资源大小:1852k
文件大小:1k
源码类别:

手机WAP编程

开发平台:

WINDOWS

  1. #!/usr/bin/make -f
  2. build: Makefile
  3. dh_testdir
  4. $(MAKE)
  5. Makefile:
  6. dh_testdir
  7. CFLAGS='-Wall -O2 -g' ./configure 
  8. --enable-docs --enable-pam 
  9. --enable-ssl --with-ssl=/usr 
  10. --enable-mysql --with-mysql=/usr 
  11. --mandir='$${prefix}/share/man' 
  12. clean:
  13. dh_testdir
  14. if [ -f Makefile ]; then $(MAKE) clean; fi
  15. rm -f Makefile
  16. dh_clean
  17. install: build
  18. dh_testdir
  19. dh_testroot
  20. dh_clean -k
  21. dh_installdirs usr/sbin usr/bin
  22. $(MAKE) prefix=`pwd`/debian/tmp/usr suffix="" install install-docs
  23. install -d debian/tmp/etc/kannel
  24. install -m 0644 debian/kannel.* debian/tmp/etc/kannel
  25. install -m 0700 -d debian/tmp/var/log/kannel
  26. binary: binary-arch binary-indep
  27. binary-arch: build install
  28. dh_testdir
  29. dh_testroot
  30. # dh_installdebconf
  31. dh_installdocs
  32. # dh_installexamples
  33. dh_installinit
  34. # dh_installcron
  35. dh_installmanpages utils/start-stop-daemon.8
  36. cd debian/tmp/usr/share/man/man8 && 
  37.     for box in bearerbox wapbox smsbox; do 
  38.      ln -s kannel.8 $$box.8; 
  39.     done
  40. dh_installchangelogs ChangeLog
  41. dh_strip
  42. dh_compress
  43. dh_fixperms
  44. dh_installdeb
  45. dh_shlibdeps
  46. dh_gencontrol
  47. dh_md5sums
  48. dh_builddeb
  49. binary-indep: install