]> git.pld-linux.org Git - packages/dvipng.git/blob - dvipng-DESTDIR.patch
- support for DESTDIR
[packages/dvipng.git] / dvipng-DESTDIR.patch
1 diff -urN dvipng-0.7.orig/Makefile.in dvipng-0.7/Makefile.in
2 --- dvipng-0.7.orig/Makefile.in 2003-10-07 19:22:35.000000000 +0000
3 +++ dvipng-0.7/Makefile.in      2003-10-19 20:15:53.000000000 +0000
4 @@ -36,8 +36,8 @@
5  $(objects): dvipng.h commands.h config.h
6  
7  install-dvipng: dvipng
8 -       -$(MKINSTALLDIRS) $(bindir)
9 -       $(INSTALL) dvipng $(bindir)
10 +       -$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
11 +       $(INSTALL) dvipng $(DESTDIR)$(bindir)
12  
13  ####################################### The documentation
14  
15 @@ -69,11 +69,11 @@
16                 readme.texi --output README
17  
18  install-docs: docs
19 -       -$(MKINSTALLDIRS) $(infodir)
20 +       -$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
21         for x in dvipng.info* ; do \
22 -               $(INSTALL_DATA) $$x $(infodir) ; \
23 +               $(INSTALL_DATA) $$x $(DESTDIR)$(infodir) ; \
24         done
25 -       -$(INSTALL_INFO) --info-dir=$(infodir) dvipng.info
26 +       -$(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) dvipng.info
27  
28  
29  ####################################### The test
This page took 0.247622 seconds and 3 git commands to generate.