File: rules

package info (click to toggle)
clp 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 10,432 kB
  • ctags: 3,625
  • sloc: cpp: 93,375; sh: 9,500; xml: 3,681; makefile: 398; ansic: 121
file content (27 lines) | stat: -rwxr-xr-x 789 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
#!/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/patchsys-quilt.mk

LDFLAGS += -lCoinUtils
DEB_CONFIGURE_EXTRA_FLAGS += --enable-static CPPFLAGS=-I/usr/include/coin

build/libclp-doc:: debian/stamp-build-libclp-doc
debian/stamp-build-libclp-doc:
	doxygen doxydoc/doxygen.conf
	touch $@

install/libclp-doc:: debian/stamp-install-libclp-doc
debian/stamp-install-libclp-doc:
	mkdir -p $(CURDIR)/debian/libclp-doc/usr/share/doc/libclp-doc/html
	cd doxydoc/html && cp *.html *.png *.gif *.css $(CURDIR)/debian/libclp-doc/usr/share/doc/libclp-doc/html/
	touch $@

get-orig-source:
	-uscan --rename --upstream-version 0
	@echo successfully retrieved upstream tarball

clean::
	$(RM) -r debian/stamp-*