/[gcl]/gcl/debian/rules
ViewVC logotype

Diff of /gcl/debian/rules

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

revision 1.1.2.1 by camm, Thu Dec 20 20:51:47 2001 UTC revision 1.1.2.2 by camm, Fri Dec 21 04:50:55 2001 UTC
# Line 17  configure-stamp: Line 17  configure-stamp:
17          dh_testdir          dh_testdir
18    
19          if [ configure.in -nt configure ]; then autoconf; fi          if [ configure.in -nt configure ]; then autoconf; fi
 #       mkdir -p unknown  
20          ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info          ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 #       rmdir unknown  
21    
22          touch configure-stamp          touch configure-stamp
23    
# Line 30  build-stamp: configure-stamp Line 28  build-stamp: configure-stamp
28          # Add here commands to compile the package.          # Add here commands to compile the package.
29          $(MAKE) OFLAG=-O4          $(MAKE) OFLAG=-O4
30    
 #       for f in info/gcl-si.info-*.gz; do zcat $$f > `echo $$f | sed -e 's/.gz$$//'`; done  
   
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 install-stamp
37    
38          -$(MAKE) clean          -$(MAKE) clean
 #       -rm -f config.cache config.status gmp/config.cache gmp/config.status \  
 #              xbin/gcl config.log unixport/raw_gcl unixport/saved_gcl  
 #       rm -f gcl-tk/demos/index.lsp  
         #bash debian/clean  
39    
40          dh_clean          dh_clean
41    
42  install: DH_OPTIONS=  install: DH_OPTIONS=
43  install: build  install: install-stamp
44    install-stamp: build-stamp
45          dh_testdir          dh_testdir
46          dh_testroot          dh_testroot
47          dh_clean -k          dh_clean -k
48          dh_installdirs          dh_installdirs
49    
50          $(MAKE) install-command INSTALL_LIB_DIR=/usr/lib/gcl prefix=debian/gcl/usr          $(MAKE) install DESTDIR=$$(pwd)/debian/tmp
51          chmod 755 debian/gcl/usr/bin/gcl  
52          install -m644 cmpnew/collectfn.o debian/gcl/usr/lib/gcl/cmpnew/          rm -rf debian/tmp/usr/share
53          install -m644 elisp/*.el debian/gcl/usr/lib/gcl/elisp/          mkdir -p debian/tmp/usr/share/emacs
54  #       install -m644 gcl-tk/decode.tcl gcl-tk/gcl.tcl gcl-tk/tkl.o gcl-tk/tinfo.o debian/gcl/usr/lib/gcl/gcl-tk/          cp -a $$(find debian/tmp/usr/local -name site-lisp -type d) debian/tmp/usr/share/emacs
55  #       install -m755 -s gcl-tk/gcltkaux debian/gcl/usr/lib/gcl/gcl-tk/          rm -rf debian/tmp/usr/local
56  #       sed -e 's:GCL_TK_DIR=.*:GCL_TK_DIR=/usr/lib/gcl/gcl-tk:' gcl-tk/gcltksrv > debian/gcl/usr/lib/gcl/gcltksrv  
57  #       chmod 755 debian/gcl/usr/lib/gcl/gcltksrv          cat debian/tmp/usr/lib/gcl-2.5.0/gcl-tk/demos/index.lsp | \
58  #       install -m644 gcl-tk/demos/*.lsp gcl-tk/demos/*.lisp gcl-tk/demos/*.o gcl-tk/demos/*.tcl debian/gcl/usr/lib/gcl/gcl-tk/demos/                  sed "s,$$(pwd)/debian/tmp,,1" >debian/foo
59          rm -f debian/gcl/usr/lib/gcl/gcl-tk/demos/index.lsp          mv debian/foo debian/tmp/usr/lib/gcl-2.5.0/gcl-tk/demos/index.lsp
60          install -m644 lsp/gprof.lsp lsp/profile.lsp lsp/info.o debian/gcl/usr/lib/gcl/lsp/  
61          install -m644 misc/*.{c,ch,lsp} debian/gcl/usr/lib/gcl/misc/          mkdir -p debian/tmp/usr/share/doc/gcl-doc/html
62          # Do not strip!          cp info/*html debian/tmp/usr/share/doc/gcl-doc/html/
63          install -m755 unixport/saved_gcl debian/gcl/usr/lib/gcl/unixport/          cp info/*dvi debian/tmp/usr/share/doc/gcl-doc/
64  #       ln -s ../lib/gcl/unixport/saved_gcl debian/gcl/usr/bin/gcl.exe  
65            rm -f debian/tmp/usr/bin/gcl.exe
66    
67            find debian/tmp -type f -name "*.lsp" -exec chmod -x {} \;
68            find debian/tmp -type f -name "*.lisp" -exec chmod -x {} \;
69            find debian/tmp -type f -name "*.el" -exec chmod -x {} \;
70            find debian/tmp -type f -name "*.tcl" -exec chmod -x {} \;
71    
72            dh_movefiles
73    
74          install -m644 info/*.html debian/gcl/usr/share/doc/gcl/html          touch install-stamp
75    
76  # Build architecture-independent files here.  # Build architecture-independent files here.
77  # Pass -i to all debhelper commands in this target to reduce clutter.  # Pass -i to all debhelper commands in this target to reduce clutter.
# Line 79  binary-indep: build install Line 80  binary-indep: build install
80          dh_testroot -i          dh_testroot -i
81          dh_installdocs -i          dh_installdocs -i
82          dh_installinfo -i          dh_installinfo -i
83          perl -pi -e 's/--quiet .*gcl-si/--section "GNU Common Lisp" "GNU Common Lisp" --description="GNU Common Lisp System Internals." $$&/; s/--quiet .*gcl-tk/--section "GNU Common Lisp" "GNU Common Lisp" --description="GNU Common Lisp Tk Manual." $$&/'  debian/gcl-doc.postinst.debhelper          cat debian/gcl-doc.postinst.debhelper | \
84                    sed -e 's/\(--quiet .*gcl-si\)/--section "GNU Common Lisp" "GNU Common Lisp" --description="GNU Common Lisp System Internals." \1/1' \
85                        -e 's/\(--quiet .*gcl-tk\)/--section "GNU Common Lisp" "GNU Common Lisp" --description="GNU Common Lisp Tk Manual." \1/1' >debian/foo && \
86                    mv debian/foo debian/gcl-doc.postinst.debhelper
87    #       perl -pi -e 's/--quiet .*gcl-si/--section "GNU Common Lisp" "GNU Common Lisp" --description="GNU Common Lisp System Internals." $$&/; s/--quiet .*gcl-tk/--section "GNU Common Lisp" "GNU Common Lisp" --description="GNU Common Lisp Tk Manual." $$&/'  
88          dh_installchangelogs ChangeLog -i          dh_installchangelogs ChangeLog -i
89          dh_link -i          dh_link -i
90          dh_compress -i          dh_compress -i
# Line 94  binary-arch: build install Line 99  binary-arch: build install
99          dh_testdir -a          dh_testdir -a
100          dh_testroot -a          dh_testroot -a
101          dh_installdocs -a          dh_installdocs -a
102            dh_installemacsen -a
103          dh_installmanpages -a          dh_installmanpages -a
104          dh_installchangelogs ChangeLog -a          dh_installchangelogs ChangeLog -a
105          dh_strip -a          dh_strip -a
# Line 101  binary-arch: build install Line 107  binary-arch: build install
107          dh_compress -a          dh_compress -a
108          dh_fixperms -a          dh_fixperms -a
109          dh_installdeb -a          dh_installdeb -a
110          dpkg-shlibdeps debian/gcl/usr/lib/gcl/unixport/saved_gcl -Tdebian/gcl.substvars          dh_shlibdeps -a
         #dpkg-shlibdeps debian/gcl/usr/lib/gcl/unixport/saved_gcl -dSuggests debian/gcl/usr/lib/gcl/gcl-tk/gcltkaux  
111          dh_gencontrol -a          dh_gencontrol -a
112          dh_md5sums -a          dh_md5sums -a
113          dh_builddeb -a          dh_builddeb -a

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

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