Respect $DESTDIR in contrib/Makefile. From Hao Li
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 18 Jan 2000 22:26:57 +0000 (22:26 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 18 Jan 2000 22:26:57 +0000 (22:26 +0000)
<hli@rainfinity.com>.

contrib/Makefile.in

index b3421b73e3c41dfa70fe566d26cd12d5f59ad6e1..6d181546b85eaae3c9f64eb4df9d13bd0ff0048c 100644 (file)
@@ -30,9 +30,9 @@ SAMPLES=Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc
 all clean distclean:
 
 install:
-       $(top_srcdir)/mkinstalldirs @docdir@/samples
+       $(top_srcdir)/mkinstalldirs $(DESTDIR)@docdir@/samples
        for f in $(SAMPLES) ; do \
-               $(INSTALL) -m 644 $(srcdir)/$$f @docdir@/samples ;      \
+               $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)@docdir@/samples ;    \
        done
 
 maintainer-clean: