Advertisement
Guest User

Untitled

a guest
Aug 18th, 2010
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. #!/usr/bin/make -f
  2.  
  3. include /usr/share/cdbs/1/rules/debhelper.mk
  4. include /usr/share/cdbs/1/class/autotools.mk
  5.  
  6.  
  7. DEB_CONFIGURE_SYSCONFDIR := /etc/X11/fluxbox
  8. DEB_STYLE_DIR = /usr/share/fluxbox/styles/
  9.  
  10. DEB_CONFIGURE_EXTRA_FLAGS := `./debian/configure-flags.sh $(DEB_CONFIGURE_SYSCONFDIR) $(DEB_STYLE_DIR)`
  11. CXXFLAGS := -O2 -ffunction-sections
  12. LDFLAGS=-lfontconfig
  13.  
  14.  
  15. configure: configure-stamp
  16. configure-stamp:
  17. ./theme/setup.sh
  18. autoreconf -i --force
  19. ./autoconf.sh
  20.  
  21. dh_testdir
  22. ./configure $(DEB_CONFIGURE_EXTRA_FLAGS)
  23. touch configure-stamp
  24.  
  25. build: configure-stamp build-stamp
  26. build-stamp:
  27. dh_testdir
  28. $(MAKE)
  29. touch build-stamp
  30.  
  31. clean::
  32. rm -f *.cdbs-config_list
  33. rm -f Makefile config.log config.status data/Makefile data/styles/Makefile
  34. rm -fr .pc src/defaults.cc
  35. find -name Makefile -delete
  36.  
  37. install/fluxbox::
  38. # We use the menu file generated by the 'menu' package.
  39. rm -f ./debian/fluxbox/usr/bin/fluxbox-generate_menu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement