File: Makefile.am

package info (click to toggle)
xstow 0.5.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 852 kB
  • ctags: 1,024
  • sloc: cpp: 6,089; sh: 3,157; makefile: 128
file content (22 lines) | stat: -rw-r--r-- 682 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
EXTRA_DIST=xstow.pod xstow.ini.pod xstow.1 xstow.html \
           xstow.ini xstow.ini.html xstow.ini.5 nignore.ini

man1_MANS=xstow.1
man5_MANS=xstow.ini.5

man:
	version=$(VERSION) ; \
	pod2man -s 1 -c "XStow Reference Guide" -r "XStow $$version" xstow.pod xstow.1 ; \
	pod2man -s 5 -c "XStow Reference Guide" -r "XStow $$version" xstow.ini.pod xstow.ini.5

html:
	pod2html xstow.pod > xstow.html
	pod2html xstow.ini.pod > xstow.ini.html

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

install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(docdir)
	$(INSTALL_DATA) xstow.html $(DESTDIR)$(docdir)
	$(INSTALL_DATA) xstow.ini.html $(DESTDIR)$(docdir)
	$(INSTALL_DATA) xstow.ini $(DESTDIR)$(docdir)