File: rules

package info (click to toggle)
coinor-flopc++ 1.0.6-3.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 3,724 kB
  • sloc: sh: 9,640; cpp: 4,825; makefile: 264; ansic: 45
file content (28 lines) | stat: -rwxr-xr-x 916 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
#!/usr/bin/make -f

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

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

build/coinor-libflopc++-doc:: debian/stamp-build-coinor-libflopc++-doc
debian/stamp-build-coinor-libflopc++-doc:
	doxygen doxydoc/doxygen.conf
	$(RM) doxydoc/html/*.md5 doxydoc/html/*.dot doxydoc/html/*.map
	touch $@

install/coinor-libflopc++-doc:: debian/stamp-install-coinor-libflopc++-doc
debian/stamp-install-coinor-libflopc++-doc:
	mkdir -p $(CURDIR)/debian/coinor-libflopc++-doc/usr/share/doc/coinor-libflopc++-doc/
	cp -r doxydoc/html $(CURDIR)/debian/coinor-libflopc++-doc/usr/share/doc/coinor-libflopc++-doc/
	touch $@

patch: apply-patches

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

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