blob: 979af8a8cbafa00b24295225ebf80ff438738c9f (
plain)
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
40
41
42
|
# rvs Makefile
#
# Copyright (C) 2009 Luke Shumaker
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
# Make Dependencies #################################################
RM = rm -f
WWW = links2 -width 70 -dump
INSTALL = install
# Variables ########################################################
SHELL = $$SHELL$$
prefix = $$prefix$$
bindir = $$bindir$$
libdir = $$libdir$$
# Targets ##########################################################
files
build:
# $(WWW) README.xhtml > README.txt
.SUFFIXES:
install : wrapper core
$(INSTALL) -m 755 -T out/rvs $(prefix)/$(bindir)/rvs
$(INSTALL) -m 755 -d out/rvs-core $(libdir)/core
out/% : source/% var.sed
./var.sed <$< > $@
var.sed: makesed Variables
./makesed <Variables > var.sed
chmod 755 var.sed
clean:
$(RM) var.sed
$(RM) -r out
|