File: rules

package info (click to toggle)
gauche-gl 0.4.4-5
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 4,180 kB
  • ctags: 7,118
  • sloc: lisp: 11,222; sh: 2,449; ansic: 2,140; makefile: 287
file content (26 lines) | stat: -rwxr-xr-x 710 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f
# -*- makefile-gmake -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#export DH_OPTIONS=
export GZIP=-9

%:
	dh --with quilt  $@

override_dh_auto_clean:
	dh_auto_clean
	rm -f configure config.sub config.guess

override_dh_auto_configure:
	ln -sf /usr/share/misc/config.sub .
	ln -sf /usr/share/misc/config.guess .
	autoconf -I /usr/share/gauche/0.9
	dh_auto_configure

# Not invoking make install at 'doc' directory
override_dh_auto_install:
	(cd src; $(MAKE) DESTDIR=$(CURDIR)/debian/gauche-gl install)
	(cd lib; $(MAKE) DESTDIR=$(CURDIR)/debian/gauche-gl install)
	gauche-install -m 444 -T $(CURDIR)/debian/gauche-gl`gauche-config --syslibdir`/.packages Gauche-gl.gpd