From 039ae7cf217cd20a1cda1f964563cd526f09fe88 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Sun, 19 Oct 2003 20:26:08 +0000 Subject: [PATCH] - support for DESTDIR Changed files: dvipng-DESTDIR.patch -> 1.1 --- dvipng-DESTDIR.patch | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 dvipng-DESTDIR.patch diff --git a/dvipng-DESTDIR.patch b/dvipng-DESTDIR.patch new file mode 100644 index 0000000..008c347 --- /dev/null +++ b/dvipng-DESTDIR.patch @@ -0,0 +1,29 @@ +diff -urN dvipng-0.7.orig/Makefile.in dvipng-0.7/Makefile.in +--- dvipng-0.7.orig/Makefile.in 2003-10-07 19:22:35.000000000 +0000 ++++ dvipng-0.7/Makefile.in 2003-10-19 20:15:53.000000000 +0000 +@@ -36,8 +36,8 @@ + $(objects): dvipng.h commands.h config.h + + install-dvipng: dvipng +- -$(MKINSTALLDIRS) $(bindir) +- $(INSTALL) dvipng $(bindir) ++ -$(MKINSTALLDIRS) $(DESTDIR)$(bindir) ++ $(INSTALL) dvipng $(DESTDIR)$(bindir) + + ####################################### The documentation + +@@ -69,11 +69,11 @@ + readme.texi --output README + + install-docs: docs +- -$(MKINSTALLDIRS) $(infodir) ++ -$(MKINSTALLDIRS) $(DESTDIR)$(infodir) + for x in dvipng.info* ; do \ +- $(INSTALL_DATA) $$x $(infodir) ; \ ++ $(INSTALL_DATA) $$x $(DESTDIR)$(infodir) ; \ + done +- -$(INSTALL_INFO) --info-dir=$(infodir) dvipng.info ++ -$(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) dvipng.info + + + ####################################### The test -- 2.44.0