File: rules

package info (click to toggle)
planets 0.1.13-6
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 396 kB
  • ctags: 585
  • sloc: ml: 2,838; makefile: 105; ansic: 38
file content (16 lines) | stat: -rwxr-xr-x 552 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/simple-patchsys.mk
include /usr/share/cdbs/1/class/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 $(CURDIR)/debian/$(cdbs_curpkg)/usr/bin/planets
	install -D -m 644 $(CURDIR)/debian/README.examples $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/planets/examples/README