File: Makefile

package info (click to toggle)
vmelilo 1.5.3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 428 kB
  • ctags: 920
  • sloc: ansic: 8,187; makefile: 157; asm: 122; perl: 18
file content (39 lines) | stat: -rw-r--r-- 1,084 bytes parent folder | download | duplicates (3)
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
35
36
37
38
39
##--------------------------------------------------------------------------##
#
# Makefile for VMELILO the VME Linux/m68k Kernel Loader man pages
#
# (c) Copyright 2001 by Nick Holgate
#
# This file is subject to the terms and conditions of the GNU General Public
# License.  See the file COPYING for more details.
#
#

include ../Version.make

##--------------------------------------------------------------------------##

DOCS	=	vmelilo.8 vmelilo.conf.5

##--------------------------------------------------------------------------##

.PHONY:		all
all:		$(DOCS)

##--------------------------------------------------------------------------##

vmelilo.8:	vmelilo.8.in ../Version.make
		sed -e s/__VERSION__/$(VERSION)/ \
			-e s/__DATE__/$(DATE)/ <$@.in >$@

vmelilo.conf.5:	vmelilo.conf.5.in ../Version.make
		sed -e s/__VERSION__/$(VERSION)/ \
			-e s/__DATE__/$(DATE)/ <$@.in >$@

##--------------------------------------------------------------------------##

.PHONY:		clean
clean:
	rm -f $(DOCS)

##-----------------------------< end of file >------------------------------##