Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / shells / rc / patches / patch-aa
blob37e0e6728af5c2f14c0df325eaa5c85eb926d4a2
1 $NetBSD$
3 DESTDIR support.
5 --- Makefile.am~        2001-10-29 09:59:29.000000000 +0000
6 +++ Makefile.am
7 @@ -68,8 +68,8 @@ trip: rc tripping
8  
9  install-exec-hook:
10  if AMC_HISTORY
11 -       $(INSTALL_PROGRAM) history $(bindir)/- ;\
12 -       rm -f $(bindir)/--;  $(LN) $(bindir)/- $(bindir)/-- ;\
13 -       rm -f $(bindir)/-p;  $(LN) $(bindir)/- $(bindir)/-p ;\
14 -       rm -f $(bindir)/--p; $(LN) $(bindir)/- $(bindir)/--p
15 +       $(INSTALL_PROGRAM) history ${DESTDIR}$(bindir)/- ;\
16 +       rm -f ${DESTDIR}$(bindir)/--;  $(LN) ${DESTDIR}$(bindir)/- ${DESTDIR}$(bindir)/-- ;\
17 +       rm -f ${DESTDIR}$(bindir)/-p;  $(LN) ${DESTDIR}$(bindir)/- ${DESTDIR}$(bindir)/-p ;\
18 +       rm -f ${DESTDIR}$(bindir)/--p; $(LN) ${DESTDIR}$(bindir)/- ${DESTDIR}$(bindir)/--p
19  endif