File: rules

package info (click to toggle)
ooxml 1.10-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,484 kB
  • sloc: tcl: 3,922; sh: 1,339; ansic: 180; makefile: 17; xml: 8
file content (23 lines) | stat: -rwxr-xr-x 632 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
#!/usr/bin/make -f

#export DH_VERBOSE = 1
DIR = $(shell pwd)/debian/tcl-ooxml

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- 	--with-tcl=/usr/lib/tcl8.6		\
				--prefix=$(DIR)/usr			\
				--includedir=$(DIR)/usr/include		\
				--mandir=$(DIR)/usr/share/man		\
				--infodir=$(DIR)/usr/share/info		\
				--libdir=$(DIR)/usr/lib/tcltk		\
				--libexecdir=$(DIR)/usr/lib/tcltk	\
				--disable-maintainer-mode		\
				--disable-dependency-tracking

override_dh_auto_install:
	dh_auto_install
	mkdir --parents $(DIR)/usr/share/man/man3/
	pandoc -s -f markdown -t man debian/ooxml.md > $(DIR)/usr/share/man/man3/ooxml.3tcl