File: Makefile

package info (click to toggle)
python-odf 1.4.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 28,620 kB
  • sloc: python: 22,659; javascript: 6,623; makefile: 360; xml: 2; sh: 1
file content (24 lines) | stat: -rw-r--r-- 533 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
23
24
all: odf odf2xhtml.1 

txt: odf2xhtml.txt

%.1: %.docbook 
	xmlto man $<

%.txt: %.docbook 
	xmlto txt $<

clean:
	rm -f *.1 *.txt odf

odf:
	ln -s ../odf

test: clean odf
	@echo ============== output by Python2 ====================
	@python2 odf2xhtml ../tests/examples/headerfooter.odt
	@echo =====================================================
	@echo
	@echo ============== output by Python3 ====================
	@python3 odf2xhtml ../tests/examples/headerfooter.odt
	@echo =====================================================