33 |
clean: |
clean: |
34 |
dh_testdir |
dh_testdir |
35 |
dh_testroot |
dh_testroot |
36 |
rm -f build-stamp configure-stamp install-stamp |
rm -f build-stamp configure-stamp |
37 |
|
|
38 |
-$(MAKE) clean |
-$(MAKE) clean |
39 |
|
|
40 |
dh_clean |
dh_clean |
41 |
|
|
42 |
install: DH_OPTIONS= |
install: DH_OPTIONS= |
43 |
install: install-stamp |
install: build |
|
install-stamp: build-stamp |
|
44 |
dh_testdir |
dh_testdir |
45 |
dh_testroot |
dh_testroot |
46 |
dh_clean -k |
dh_clean -k |
49 |
$(MAKE) install DESTDIR=$$(pwd)/debian/tmp |
$(MAKE) install DESTDIR=$$(pwd)/debian/tmp |
50 |
|
|
51 |
rm -rf debian/tmp/usr/share |
rm -rf debian/tmp/usr/share |
52 |
mkdir -p debian/tmp/usr/share/emacs |
mkdir -p debian/tmp/usr/share/emacs/site-lisp |
53 |
cp -a $$(find debian/tmp/usr/local -name site-lisp -type d) debian/tmp/usr/share/emacs |
cp -a $$(find debian/tmp/usr/local -name site-lisp -type d) debian/tmp/usr/share/emacs/site-lisp/gcl |
54 |
rm -rf debian/tmp/usr/local |
rm -rf debian/tmp/usr/local |
55 |
|
|
56 |
cat debian/tmp/usr/lib/gcl-2.5.0/gcl-tk/demos/index.lsp | \ |
cat debian/tmp/usr/lib/gcl-2.5.0/gcl-tk/demos/index.lsp | \ |
57 |
sed "s,$$(pwd)/debian/tmp,,1" >debian/foo |
sed "s,$$(pwd)/debian/tmp,,1" >debian/foo |
58 |
mv debian/foo debian/tmp/usr/lib/gcl-2.5.0/gcl-tk/demos/index.lsp |
mv debian/foo debian/tmp/usr/lib/gcl-2.5.0/gcl-tk/demos/index.lsp |
59 |
|
|
60 |
mkdir -p debian/tmp/usr/share/doc/gcl-doc/html |
mkdir -p debian/tmp/usr/share/doc/gcl-doc/gcl-si.html |
61 |
cp info/*html debian/tmp/usr/share/doc/gcl-doc/html/ |
cp info/gcl-si*html debian/tmp/usr/share/doc/gcl-doc/gcl-si.html/ |
62 |
cp info/*dvi debian/tmp/usr/share/doc/gcl-doc/ |
mkdir -p debian/tmp/usr/share/doc/gcl-doc/gcl-tk.html |
63 |
|
cp info/gcl-tk*html debian/tmp/usr/share/doc/gcl-doc/gcl-tk.html/ |
64 |
|
|
65 |
rm -f debian/tmp/usr/bin/gcl.exe |
rm -f debian/tmp/usr/bin/gcl.exe |
66 |
|
|
71 |
|
|
72 |
dh_movefiles |
dh_movefiles |
73 |
|
|
|
touch install-stamp |
|
|
|
|
74 |
# Build architecture-independent files here. |
# Build architecture-independent files here. |
75 |
# Pass -i to all debhelper commands in this target to reduce clutter. |
# Pass -i to all debhelper commands in this target to reduce clutter. |
76 |
binary-indep: build install |
binary-indep: build install |