41 lines
1.3 KiB
Text
41 lines
1.3 KiB
Text
$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
|