File: rules

package info (click to toggle)
libtabe 0.2.6-1.2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 5,576 kB
  • ctags: 1,777
  • sloc: ansic: 17,458; sh: 9,848; makefile: 273
file content (25 lines) | stat: -rwxr-xr-x 810 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
#!/usr/bin/make -f
# Sample debian/rules that uses cdbs.  Originaly written by Robert Millan.
# This file is public domain.
  
DEB_TAR_SRCDIR                  := libtabe-0.2.6
DEB_AUTO_UPDATE_DEBIAN_CONTROL  := yes
DEB_AUTO_CLEANUP_RCS            := yes

# Add here any variable or target overrides you need
DEB_DH_INSTALL_SOURCEDIR = debian/tmp

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

DEB_INSTALL_CHANGELOGS_ALL := doc/Changes
#DEB_CONFIGURE_EXTRA_FLAGS := --x-includes=/usr/include

install/libtabe-dev::
	cd doc && linuxdoc -B html libtabe.sgml
	install -d $(CURDIR)/debian/tmp/usr/share/doc/libtabe-dev
	cp $(CURDIR)/doc/*.html $(CURDIR)/debian/tmp/usr/share/doc/libtabe-dev/

clean::
	rm -f doc/*.html