summaryrefslogtreecommitdiff
path: root/support/SQLTeX/man/Makefile.am
blob: f10c3cf610e63edfb00e89455c918bccc5c07098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Automake makefile for the linux manpage

.PHONY: all distdir
DISTFILES = Makefile.am Makefile.in SQLTeX.man

all : 

SQLTeX.1 : SQLTeX.man
	@cat $^ | sed -e 's#{BINDIR}#$(bindir)#;s#{SYSCONFDIR}#$(sysconfdir)#' > $@

distdir : ${DISTFILES}
	cp ${DISTFILES} $(distdir)

install: SQLTeX.1
	@if [ ! -d ${mandir} ]; then mkdir -p ${mandir}; fi
	cp $^ ${mandir}/man1