/[weechat]/weechat/debian/rules
ViewVC logotype

Diff of /weechat/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by flashcode, Sat Sep 27 10:02:53 2003 UTC revision 1.2 by flashcode, Sun Nov 2 19:05:54 2003 UTC
# Line 3  Line 3 
3  # GNU copyright 1997 to 1999 by Joey Hess.  # GNU copyright 1997 to 1999 by Joey Hess.
4    
5  # Uncomment this to turn on verbose mode.  # Uncomment this to turn on verbose mode.
6  #export DH_VERBOSE=1  export DH_VERBOSE=1
   
   
   
7    
8  CFLAGS = -Wall -g  CFLAGS = -Wall -g
9    
# Line 22  endif Line 19  endif
19  configure: configure-stamp  configure: configure-stamp
20  configure-stamp:  configure-stamp:
21          dh_testdir          dh_testdir
22          # Add here commands to configure the package.          ./configure --prefix=/usr --sysconfdir=/etc --enable-gtk
   
23          touch configure-stamp          touch configure-stamp
24    
25    
# Line 31  build: build-stamp Line 27  build: build-stamp
27    
28  build-stamp: configure-stamp  build-stamp: configure-stamp
29          dh_testdir          dh_testdir
   
         # Add here commands to compile the package.  
30          $(MAKE)          $(MAKE)
         #/usr/bin/docbook-to-man debian/weechat.sgml > weechat.1  
   
31          touch build-stamp          touch build-stamp
32    
33  clean:  clean:
34          dh_testdir          dh_testdir
35          dh_testroot          dh_testroot
36          rm -f build-stamp configure-stamp          rm -f build-stamp configure-stamp
   
         # Add here commands to clean up after the build process.  
37          -$(MAKE) clean          -$(MAKE) clean
   
38          dh_clean          dh_clean
39    
40  install: build  install: build
# Line 53  install: build Line 42  install: build
42          dh_testroot          dh_testroot
43          dh_clean -k          dh_clean -k
44          dh_installdirs          dh_installdirs
   
         # Add here commands to install the package into debian/weechat.  
45          $(MAKE) install DESTDIR=$(CURDIR)/debian/weechat          $(MAKE) install DESTDIR=$(CURDIR)/debian/weechat
46            install -o root -g root -m 755 src/gui/curses/weechat-curses $(CURDIR)/debian/weechat-curses/usr/bin
47            install -o root -g root -m 755 src/gui/gtk/weechat-gtk $(CURDIR)/debian/weechat-gtk/usr/bin
48    
49    
50  # Build architecture-independent files here.  # Build architecture-independent files here.
51  binary-indep: build install  binary-indep: build install
52  # We have nothing to do by default.          dh_testdir -pweechat-common
53            dh_testroot -pweechat-common
54            dh_installchangelogs -pweechat-common
55            dh_installdocs -pweechat-common
56            dh_installexamples -pweechat-common
57            dh_installman weechat.1 -pweechat-common
58            dh_compress -pweechat-common
59            dh_fixperms -pweechat-common
60            dh_installdeb -pweechat-common
61            dh_shlibdeps -pweechat-common
62            dh_gencontrol -pweechat-common
63            dh_md5sums -pweechat-common
64            dh_builddeb -pweechat-common
65    
66  # Build architecture-dependent files here.  # Build architecture-dependent files here.
67  binary-arch: build install  binary-arch: build install
68          dh_testdir          dh_testdir -a
69          dh_testroot          dh_testroot -a
70          dh_installchangelogs          dh_link -a
71          dh_installdocs          dh_strip -a
72          dh_installexamples          dh_compress -a
73  #       dh_install          dh_fixperms -a
74  #       dh_installmenu          dh_installdeb -a
75  #       dh_installdebconf                dh_shlibdeps -a
76  #       dh_installlogrotate          dh_gencontrol -a
77  #       dh_installemacsen          dh_md5sums -a
78  #       dh_installpam          dh_builddeb -a
 #       dh_installmime  
 #       dh_installinit  
 #       dh_installcron  
 #       dh_installinfo  
         dh_installman weechat.1  
         dh_link  
         dh_strip  
         dh_compress  
         dh_fixperms  
 #       dh_perl  
 #       dh_python  
 #       dh_makeshlibs  
         dh_installdeb  
         dh_shlibdeps  
         dh_gencontrol  
         dh_md5sums  
         dh_builddeb  
79    
80  binary: binary-indep binary-arch  binary: binary-indep binary-arch
81  .PHONY: build clean binary-indep binary-arch binary install configure  .PHONY: build clean binary-indep binary-arch binary install configure

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26