[go: up one dir, main page]

File: Makefile.cvs

package info (click to toggle)
docbook-utils 0.6.9-12
  • links: PTS
  • area: main
  • in suites: woody
  • size: 696 kB
  • ctags: 35
  • sloc: perl: 1,010; sh: 454; makefile: 123
file content (21 lines) | stat: -rw-r--r-- 741 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
all: .docbook-utils.html.stamp .docbook-utils.man.stamp
	aclocal
	automake -a
	autoconf
	rm -r `find . -name CVS`
	@echo "The package is ready for being put in a tarball"
	@echo "To install it, you can type: ./configure; make; make install"

.docbook-utils.html.stamp: doc/docbook-utils.sgml
	-(cd doc/HTML; \
	  export SGML_CATALOG_FILES=/etc/sgml/sgml-docbook-3.1.cat; \
	  jade -t sgml -i html -d ../../docbook-utils.dsl#html ../docbook-utils.sgml; \
	  mv jw.html jw.html.in \
	) && touch $@

.docbook-utils.man.stamp: doc/docbook-utils.sgml
	-(cd doc/man; \
	  export SGML_CATALOG_FILES=/etc/sgml/sgml-docbook-3.1.cat; \
	  nsgmls ../docbook-utils.sgml | sgmlspl ../../helpers/docbook2man-spec.pl; \
	  mv jw.1 jw.1.in \
	) && touch $@