File: rules

package info (click to toggle)
drscheme 1%3A352-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 71,608 kB
  • ctags: 55,284
  • sloc: ansic: 278,966; cpp: 63,318; sh: 32,265; lisp: 14,530; asm: 7,327; makefile: 4,846; pascal: 4,363; perl: 2,920; java: 1,632; yacc: 755; lex: 258; sed: 93; xml: 12
file content (31 lines) | stat: -rwxr-xr-x 929 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
27
28
29
30
31
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

PLTDIR := /usr/lib/plt

DEB_CONFIGURE_EXTRA_FLAGS := --enable-shared
ifeq (m68k,$(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU))
	DEB_CONFIGURE_EXTRA_FLAGS += --disable-foreign
endif

DEB_CONFIGURE_SCRIPT := $(CURDIR)/src/configure
# Optimizations cause build failures on powerpc/alpha, so we'll override the
# standard optimizations and have it hold "-fPIC" instead
DEB_OPT_FLAG := -fPIC

DEB_BUILDDIR := $(DEB_SRCDIR)/build
DEB_DESTDIR := $(CURDIR)/debian/drscheme

DEB_INSTALL_CHANGELOGS_drscheme := --no-act
DEB_INSTALL_DOCS_drscheme := --no-act
DEB_SHLIBDEPS_EXCLUDE_drscheme := debian/drscheme/plot

install/mzscheme::
	dh_movefiles --sourcedir=debian/drscheme -pmzscheme

cleanbuilddir/drscheme::
	rm -rf build
	rm -rf include # This got created at build-time