blob: f8a29450231c4196ed917b4dbc3da8084586385f (
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
|
$NetBSD: patch-ab,v 1.3 2006/10/01 08:26:56 schwarz Exp $
--- src/Makefile.in.orig 2005-09-30 05:29:32.000000000 +0200
+++ src/Makefile.in 2006-09-17 20:00:20.000000000 +0200
@@ -15,11 +15,12 @@
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
+INSTALL_SCRIPT=@INSTALL@ -m 0555
INSTALL_DATA=@INSTALL_DATA@
PROGS= remind rem2ps
SCRIPTS= $(srcdir)/../scripts/kall $(srcdir)/../scripts/rem \
- $(srcdir)/../scripts/tkremind $(srcdir)/../scripts/cm2rem.tcl
+ $(srcdir)/../scripts/tkremind $(srcdir)/../scripts/cm2rem
MANS= $(srcdir)/../man/kall.1 $(srcdir)/../man/rem.1 \
$(srcdir)/../man/rem2ps.1 $(srcdir)/../man/remind.1 \
@@ -40,7 +41,7 @@
sh ../tests/test-rem
.c.o:
- @CC@ -c @CFLAGS@ @DEFS@ $(CEXTRA) $(LANGDEF) -I. -I$(srcdir) $<
+ @CC@ -c @CFLAGS@ @CPPFLAGS@ @DEFS@ $(CEXTRA) $(LANGDEF) -I. -I$(srcdir) $<
rem2ps: rem2ps.o dynbuf.o
@CC@ @LDFLAGS@ -o rem2ps rem2ps.o dynbuf.o
@@ -50,9 +51,12 @@
install: all
-mkdir -p $(DESTDIR)$(bindir) || true
- for prog in $(PROGS) $(SCRIPTS) ; do \
+ for prog in $(PROGS) ; do \
$(INSTALL_PROGRAM) $$prog $(DESTDIR)$(bindir) || exit 1; \
done
+ for prog in $(SCRIPTS) ; do \
+ $(INSTALL_SCRIPT) $$prog $(DESTDIR)$(bindir) || exit 1; \
+ done
-strip $(DESTDIR)$(bindir)/remind || true
-strip $(DESTDIR)$(bindir)/rem2ps || true
-mkdir -p $(DESTDIR)$(mandir)/man1 || true
|