File: rules

package info (click to toggle)
planets 0.1.13-11
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 488 kB
  • ctags: 734
  • sloc: ml: 4,161; makefile: 199; ansic: 38
file content (16 lines) | stat: -rwxr-xr-x 471 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

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

ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
        MAKEOPTS:=DEBUGFLAGS=-g
endif

DEB_MAKE_BUILD_TARGET = $(MAKEOPTS) planets.bc

install/planets::
	install -D planets.bc $(DEB_DESTDIR)/usr/bin/planets
	install -D -m 644 $(CURDIR)/debian/README.examples \
		$(DEB_DESTDIR)/usr/share/doc/planets/examples/README