File: Makefile.am

package info (click to toggle)
xdialog 2.2.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,044 kB
  • ctags: 540
  • sloc: ansic: 4,985; sh: 4,525; makefile: 63; sed: 16
file content (34 lines) | stat: -rw-r--r-- 1,249 bytes parent folder | download | duplicates (2)
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
26
27
28
29
30
31
32
33
34
## Process this file with automake to produce Makefile.in

AUTOMAKE_OPTIONS = foreign no-dependencies

docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)

CLEANFILES = index.html compatibility.html changelog.html license.html Xdialog.1

doc_DATA = index.html compatibility.html changelog.html license.html $(srcdir)/*.html $(srcdir)/*.png

man_MANS = Xdialog.1

index.html: index.html.in
	sed -e 's/%%version%%/$(VERSION)/' $(srcdir)/index.html.in >index.html

compatibility.html: compatibility.html.in
	sed -e 's/%%version%%/$(VERSION)/' \
	    -e 's:%%datadir%%:$(datadir):' \
	    $(srcdir)/compatibility.html.in >compatibility.html

changelog.html: changelog.head $(top_srcdir)/ChangeLog changelog.tail
	cat $(srcdir)/changelog.head >changelog.html
	sed -e 's/</\&lt;/' -e 's/</\&lt;/' -e 's/</\&lt;/' \
	    $(top_srcdir)/ChangeLog >>changelog.html
	cat $(srcdir)/changelog.tail >>changelog.html

license.html: license.head $(top_srcdir)/COPYING license.tail
	cat $(srcdir)/license.head $(top_srcdir)/COPYING $(srcdir)/license.tail >license.html

Xdialog.1: Xdialog.man
	sed -e 's/%%version%%/$(VERSION)/' \
	    -e 's:%%bindir%%:$(bindir):' \
	    -e 's:%%mandir%%:$(mandir):' \
	    -e 's:%%datadir%%:$(datadir):' $(srcdir)/Xdialog.man >Xdialog.1