~ubuntu-branches/ubuntu/trusty/ippl/trusty

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
# Makefile for ippl documentation
#
# Copyright (C) 1999 Hugo Haas

RM=rm -f

include ../Makefile.common

SED=sed

SED_SCRIPT=-e "s%__CONFIGURATION_FILE%$(CONFIGURATION_FILE)%g" \
	   -e "s%__PID_FILE%$(PID_FILE)%g" \
	   -e "s%__DEFAULT_USER%$(DEFAULT_USER)%g"

all: man

man:    ippl.8 ippl.conf.5

ippl.8: ippl.man Makefile ../Makefile.common
	@echo "Generating ippl.8" && $(SED) $(SED_SCRIPT) ippl.man > ippl.8

ippl.conf.5: ippl.conf.man Makefile ../Makefile.common
	@echo "Generating ippl.conf.5" && $(SED) $(SED_SCRIPT) ippl.conf.man > ippl.conf.5

clean:
	${RM} ippl.8 ippl.conf.5