]> git.pld-linux.org Git - packages/nmh.git/blob - nmh-DESTDIR.patch
- rel 2
[packages/nmh.git] / nmh-DESTDIR.patch
1 --- nmh-1.2.orig/etc/Makefile.in        2006-01-12 11:19:12.000000000 +0100
2 +++ nmh-1.2/etc/Makefile.in     2006-01-12 12:12:14.000000000 +0100
3 @@ -72,13 +72,13 @@
4         rm -f $@
5         $(SED) -e 's,%mts%,$(MTS),' \
6                -e 's,%mailspool%,$(mailspool),' \
7 -              -e 's,%etcdir%,$(etcdir),' \
8 +              -e 's,%etcdir%,$(DESTDIR)$(etcdir),' \
9                -e 's,%masquerade%,$(masquerade),' \
10                -e 's,%smtpservers%,$(smtpservers),' < $(srcdir)/mts.conf.in > $@
11  
12  sendfiles: $(srcdir)/sendfiles.in Makefile
13         rm -f $@
14 -       $(SED) -e 's,%libdir%,$(libdir),' < $(srcdir)/sendfiles.in > $@
15 +       $(SED) -e 's,%libdir%,$(DESTDIR)$(libdir),' < $(srcdir)/sendfiles.in > $@
16  
17  install: install-bin-files install-etc-files
18  
19 --- nmh-1.2.orig/man/Makefile.in        2006-01-12 11:19:12.000000000 +0100
20 +++ nmh-1.2/man/Makefile.in     2006-01-12 12:14:33.000000000 +0100
21 @@ -50,7 +50,7 @@
22  .man.$(manext8):
23         $(SEDMAN)
24  
25 -# man pages to install in $(mandir)/$(manext1)
26 +# man pages to install in $(DESTDIR)/$(mandir)/$(manext1)
27  MAN1SRC = ali. anno. burst. comp.              \
28         dist. flist. flists. folder. folders.   \
29         forw. inc. install-mh. mark. mh-chart.  \
30 @@ -99,10 +99,10 @@
31         echo 's,%nmhwarning%,THIS FILE HAS BEEN AUTOMATICALLY GENERATED.  DO NOT EDIT.,g' > $@
32         echo 's,%nmhversion%,nmh-$(VERSION),g' >> $@
33         echo 's,%nmhdate%,$(DATE),g' >> $@
34 -       echo 's,%bindir%,$(bindir),g' >> $@
35 +       echo 's,%bindir%,$(DESTDIR)$(bindir),g' >> $@
36         echo 's,%etcdir%,$(etcdir),g' >> $@
37 -       echo 's,%libdir%,$(libdir),g' >> $@
38 -       echo 's,%mandir%,$(mandir),g' >> $@
39 +       echo 's,%libdir%,$(DESTDIR)$(libdir),g' >> $@
40 +       echo 's,%mandir%,$(DESTDIR)$(mandir),g' >> $@
41         echo 's,%mailspool%,$(mailspool),g' >> $@
42         echo 's,%sendmailpath%,$(sendmailpath),g' >> $@
43         echo 's,%default_editor%,$(default_editor),g' >> $@
This page took 0.077387 seconds and 3 git commands to generate.