File: Makefile

package info (click to toggle)
hammerhead 2.1.3-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 704 kB
  • ctags: 588
  • sloc: cpp: 4,782; sh: 2,794; makefile: 240; perl: 41; csh: 11
file content (39 lines) | stat: -rwxr-xr-x 615 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 #
# $Id: Makefile,v 1.3 2002/11/13 03:06:33 dredd Exp $
#
# A GNU Makefile - for Hammerhead
#
# $Source: /cvsroot/hammerhead/hammerhead/doc/Makefile,v $
# $Revision: 1.3 $
# $Date: 2002/11/13 03:06:33 $
# $State: Exp $
#
# Author: Geoff Wong
#

include ../hammer.mk

TARGET1=hammerhead.html
TARGET2=hammerhead.txt

SRC=hammerhead.1

MAN2HTML=man2html
NROFF=nroff -man
INSTALL=install

all: $(TARGET2) $(TARGET1) 
	@echo done

$(TARGET1): $(SRC)
	-$(MAN2HTML) $(SRC) > $@

$(TARGET2): $(SRC)
	-$(NROFF) $(SRC) > $@

install: $(TARGET1) $(TARGET2)
	$(INSTALL) $(SRC) ${mandir}

proper:
	rm -f $(TARGET1) $(TARGET2)