File: Makefile

package info (click to toggle)
python-odf 1.3.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,356 kB
  • ctags: 1,902
  • sloc: python: 21,654; makefile: 352; sh: 10; xml: 2
file content (22 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all: odf odfimgimport.1 

txt: odfimgimport.txt

%.1: %.docbook 
	xmlto man $<

%.txt: %.docbook 
	xmlto txt $<

clean:
	rm -f *.1 *.txt odf textWithImages-fetchedBy*
odf:
	ln -s ../odf

test: clean odf
	@python2 odfimgimport -o textWithImages-fetchedByPython2.odt \
	  textWithImages.odt
	@python3 odfimgimport -o textWithImages-fetchedByPython3.odt \
	  textWithImages.odt
	@echo created textWithImages-fetchedByPython2.odt and \
	  textWithImages-fetchedByPython3.odt