29 lines
969 B
Text
29 lines
969 B
Text
$NetBSD: patch-aa,v 1.2 2007/08/31 21:50:50 agc Exp $
|
|
|
|
--- Makefile.in.orig 1997-04-11 14:13:32.000000000 +0100
|
|
+++ Makefile.in 2007-08-31 12:44:39.000000000 +0100
|
|
@@ -22,7 +22,8 @@
|
|
exec_prefix=@exec_prefix@
|
|
BINDIR=$(exec_prefix)/bin
|
|
LIBDIR=$(exec_prefix)/lib
|
|
-ETCDIR=$(exec_prefix)/etc
|
|
+ETCDIR=@sysconfdir@
|
|
+EGDIR=@datadir@/examples/qterm
|
|
INCDIR=$(prefix)/include
|
|
MANDIR=$(prefix)/man
|
|
|
|
@@ -53,10 +54,10 @@
|
|
$(SED) 's;qterm_etcdir;$(ETCDIR);g' < qterm.1.in > qterm.1
|
|
|
|
install: qterm qtermtab qterm.1
|
|
- ./mkinstalldirs $(BINDIR) $(ETCDIR) $(MANDIR)/man1
|
|
- $(INSTALL) -m 755 qterm $(BINDIR)
|
|
- $(INSTALL) -m 644 qtermtab $(TABFILE)
|
|
- $(INSTALL) -m 644 qterm.1 $(MANDIR)/man1
|
|
+ ./mkinstalldirs ${DESTDIR}$(BINDIR) ${DESTDIR}$(EGDIR) ${DESTDIR}$(MANDIR)/man1
|
|
+ $(BSD_INSTALL_PROGRAM) qterm ${DESTDIR}$(BINDIR)
|
|
+ $(BSD_INSTALL_MAN) qtermtab ${DESTDIR}$(EGDIR)
|
|
+ $(BSD_INSTALL_MAN) qterm.1 ${DESTDIR}$(MANDIR)/man1
|
|
|
|
clean:
|
|
rm -f *.o core log *~ \#* qterm $(OBJS)
|