blob: d2d3aa186ba75df5c9a98c340f0dc481aeaad4e1 (
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
|
$NetBSD: patch-aa,v 1.1.1.1 2001/04/16 22:23:34 zuntum Exp $
--- Makefile.orig Tue Oct 10 19:45:29 2000
+++ Makefile
@@ -2,10 +2,8 @@
BOBJS = mkbshift.o
COBJS = exit.o array.o Sulawalaw.o
SOBJS = main.o shorten.o fixio.o vario.o poly.o lpc.o hsgetopt.o dupfinfo.o riffwave.o license.o
-CC = cc
-CFLAGS= -O
-DESTDIR = /usr/local
+DESTDIR = ${PREFIX}
prefix = $(DESTDIR)
exec_prefix = $(prefix)/bin
man_prefix = $(prefix)/man/man$(manext)
@@ -17,9 +15,9 @@
all: shorten shorten.man
install: shorten
- mkdir -p $(exec_prefix) $(man_prefix)
- cp shorten $(exec_prefix)
- cp shorten.1 $(man_prefix)
+ ${MKDIR} $(exec_prefix) $(man_prefix)
+ ${BSD_INSTALL_PROGRAM} shorten $(exec_prefix)
+ ${BSD_INSTALL_MAN} shorten.1 $(man_prefix)
install-debian: shorten
install -s shorten $(DESTDIR)/usr/bin
|