- tabs in preamble
[packages/dgs.git] / dgs-DESTDIR.patch
CommitLineData
e9fb90e6
JB
1--- dgs-0.5.10/gs/unixinst.mak.orig Mon Apr 10 23:30:53 2000
2+++ dgs-0.5.10/gs/unixinst.mak Thu Jan 10 10:37:07 2002
9eff6eb5 3@@ -35,32 +35,32 @@
5726286a
JR
4 # rules, just in case bindir or scriptdir is a subdirectory of any of these.
5
6 install-exec:
7- -mkdir $(datadir)
8- -mkdir $(gsdir)
9- -mkdir $(gsdatadir)
10- -mkdir $(bindir)
11- $(INSTALL_PROGRAM) $(GS_XE) $(bindir)/$(GS)
12+ -mkdir $(DESTDIR)$(datadir)
13+ -mkdir $(DESTDIR)$(gsdir)
14+ -mkdir $(DESTDIR)$(gsdatadir)
15+ -mkdir $(DESTDIR)$(bindir)
16+ $(INSTALL_PROGRAM) $(GS_XE) $(DESTDIR)$(bindir)/$(GS)
17
18 install-scripts: gsnd
19- -mkdir $(datadir)
20- -mkdir $(gsdir)
21- -mkdir $(gsdatadir)
22- -mkdir $(scriptdir)
23+ -mkdir $(DESTDIR)$(datadir)
24+ -mkdir $(DESTDIR)$(gsdir)
25+ -mkdir $(DESTDIR)$(gsdatadir)
26+ -mkdir $(DESTDIR)$(scriptdir)
9eff6eb5 27 sh -c 'for f in dpsnx.agent ;\
5726286a
JR
28- do if ( test -f $$f ); then $(INSTALL_PROGRAM) $$f $(scriptdir)/$$f; fi;\
29+ do if ( test -f $$f ); then $(INSTALL_PROGRAM) $$f $(DESTDIR)$(scriptdir)/$$f; fi;\
30 done'
31
9eff6eb5 32 MAN1_PAGES=dgs
e9fb90e6 33 install-data:
5726286a
JR
34- -mkdir $(mandir)
35- -mkdir $(man1dir)
36+ -mkdir $(DESTDIR)$(mandir)
37+ -mkdir $(DESTDIR)$(man1dir)
38 sh -c 'for f in $(MAN1_PAGES) ;\
39- do if ( test -f $$f.1 ); then $(INSTALL_DATA) $$f.1 $(man1dir)/$$f.$(man1ext); fi;\
40+ do if ( test -f $$f.1 ); then $(INSTALL_DATA) $$f.1 $(DESTDIR)$(man1dir)/$$f.$(man1ext); fi;\
41 done'
42- -mkdir $(datadir)
43- -mkdir $(gsdir)
44- -mkdir $(gsdir)/fonts
45- -mkdir $(gsdatadir)
46+ -mkdir $(DESTDIR)$(datadir)
47+ -mkdir $(DESTDIR)$(gsdir)
48+ -mkdir $(DESTDIR)$(gsdir)/fonts
49+ -mkdir $(DESTDIR)$(gsdatadir)
50 sh -c 'for f in \
51 Fontmap \
e9fb90e6
JB
52 gs_init.ps gs_btokn.ps gs_ccfnt.ps gs_cff.ps gs_cidfn.ps gs_cmap.ps \
53@@ -83,9 +83,9 @@
5726286a
JR
54 \
55 gs_mex_e.ps gs_mro_e.ps gs_pdf_e.ps gs_wan_e.ps \
56 gs_pdfwr.ps ;\
57- do if ( test -f $$f ); then $(INSTALL_DATA) $$f $(gsdatadir)/$$f; fi;\
58+ do if ( test -f $$f ); then $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)/$$f; fi;\
59 done'
60- -mkdir $(docdir)
61+ -mkdir $(DESTDIR)$(docdir)
62 sh -c 'for f in \
63 \
64 \
e9fb90e6 65@@ -95,12 +95,12 @@
5726286a
JR
66 Htmstyle.htm Humor.htm Install.htm Language.htm Lib.htm Make.htm New-user.htm \
67 News.htm Ps2pdf.htm Psfiles.htm Public.htm \
68 Readme.htm Source.htm Unix-lpr.htm Use.htm Xfonts.htm ;\
69- do if ( test -f $$f ); then $(INSTALL_DATA) $$f $(docdir)/$$f; fi;\
70+ do if ( test -f $$f ); then $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$f; fi;\
71 done'
72- -mkdir $(exdir)
73+ -mkdir $(DESTDIR)$(exdir)
74 for f in \
75 \
76 \
77 ridt91.eps ;\
78- do $(INSTALL_DATA) $$f $(exdir)/$$f ;\
79+ do $(INSTALL_DATA) $$f $(DESTDIR)$(exdir)/$$f ;\
80 done
This page took 0.108278 seconds and 4 git commands to generate.