1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 01_DESTDIR.dpatch by Daniel Leidert <daniel.leidert@wgdd.de> and
3
## Michael Banck <mbanck@debian.org>
5
## All lines beginning with `## DP:' are a description of the patch.
6
## DP: Upstream misses to support DESTDIR in a few cases. This patch should
7
## DP: forwarded to upstream as usual.
10
diff -urNad psicode~/doc/doxygen/Makefile.in psicode/doc/doxygen/Makefile.in
11
--- psicode~/doc/doxygen/Makefile.in 2008-03-02 20:43:44.000000000 +0100
12
+++ psicode/doc/doxygen/Makefile.in 2009-02-22 16:20:10.000000000 +0100
17
-DOXYDIR = $(htmldir)/doxygen
18
+DOXYDIR = $(DESTDIR)$(htmldir)/doxygen
27
- /bin/rm -rf html latex man
30
+ $(RM) -r html latex man
36
install:: install_html
40
- $(MKDIRS) $(htmldir)/doxygen
41
+ $(MKDIRS) $(DOXYDIR)
42
$(INSTALL_DATA) html/* $(DOXYDIR)
45
diff -urNad psicode~/lib/ruby/Makefile.in psicode/lib/ruby/Makefile.in
46
--- psicode~/lib/ruby/Makefile.in 2008-06-18 19:27:56.000000000 +0200
47
+++ psicode/lib/ruby/Makefile.in 2009-02-22 16:20:10.000000000 +0100
49
cceom.rb ccsort.rb cints.rb cphf.rb detci.rb input.rb optking.rb psi3.rb testcases.rb
52
- $(MKDIRS) $(rubydatadir)
53
+ $(MKDIRS) $(DESTDIR)$(rubydatadir)
54
for rbfile in $(RUBYSRC); \
56
- ($(INSTALL_DATA) $(srcdir)/$${rbfile} $(rubydatadir)) || exit 1; \
57
+ ($(INSTALL_DATA) $(srcdir)/$${rbfile} $(DESTDIR)$(rubydatadir)) || exit 1; \