File: rules

package info (click to toggle)
hlins 0.39-16
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 408 kB
  • ctags: 180
  • sloc: ml: 1,213; makefile: 141
file content (19 lines) | stat: -rwxr-xr-x 524 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# non-standard configuration:
common-configure::
	cd source; ./configure DESTDIR=$(DEB_DESTDIR)

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/ocaml.mk

DEB_SRCDIR = source

# we have decided to build this package as bytecode
DEB_MAKE_BUILD_TARGET = byte
DEB_MAKE_INSTALL_TARGET = install.bc DESTDIR=$(DEB_DESTDIR)	

install/hlins::
	cd doc; $(MAKE) install DESTDIR=$(DEB_DESTDIR)
	rm $(DEB_DESTDIR)/usr/share/doc/hlins/LICENSE